diff options
| author | Dave Airlie <airlied@redhat.com> | 2018-12-13 09:49:04 +1000 | 
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2018-12-13 10:06:34 +1000 | 
| commit | e7df065a697783ecb5c6eaa5692d78dcfceb71dd (patch) | |
| tree | 2e42f7ec8ac73c13ffd6575e016dad1beb4de83b /drivers/gpu/drm/amd/amdgpu/cik_ih.c | |
| parent | e69aa5f9b97f7f871643336deb281db5cb14878b (diff) | |
| parent | 674e78acae0dfb4beb56132e41cbae5b60f7d662 (diff) | |
Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/linux into drm-next
[airlied: make etnaviv build again]
amdgpu:
- DC trace support
- More DC documentation
- XGMI hive reset support
- Rework IH interaction with KFD
- Misc fixes and cleanups
- Powerplay updates for newer polaris variants
- Add cursor plane update fast path
- Enable gpu reset by default on CI parts
- Fix config with KFD/HSA not enabled
amdkfd:
- Limit vram overcommit
- dmabuf support
- Support for doorbell BOs
ttm:
- Support for simultaneous submissions to multiple engines
scheduler:
- Add helpers for hw with preemption support
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Alex Deucher <alexdeucher@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181207233119.16861-1-alexander.deucher@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_ih.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/cik_ih.c | 29 | 
1 files changed, 0 insertions, 29 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik_ih.c b/drivers/gpu/drm/amd/amdgpu/cik_ih.c index b5775c6a857b..8a8b4967a101 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik_ih.c +++ b/drivers/gpu/drm/amd/amdgpu/cik_ih.c @@ -228,34 +228,6 @@ static u32 cik_ih_get_wptr(struct amdgpu_device *adev)   * [127:96] - reserved   */ -/** - * cik_ih_prescreen_iv - prescreen an interrupt vector - * - * @adev: amdgpu_device pointer - * - * Returns true if the interrupt vector should be further processed. - */ -static bool cik_ih_prescreen_iv(struct amdgpu_device *adev) -{ -	u32 ring_index = adev->irq.ih.rptr >> 2; -	u16 pasid; - -	switch (le32_to_cpu(adev->irq.ih.ring[ring_index]) & 0xff) { -	case 146: -	case 147: -		pasid = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]) >> 16; -		if (!pasid || amdgpu_vm_pasid_fault_credit(adev, pasid)) -			return true; -		break; -	default: -		/* Not a VM fault */ -		return true; -	} - -	adev->irq.ih.rptr += 16; -	return false; -} -   /**   * cik_ih_decode_iv - decode an interrupt vector   * @@ -461,7 +433,6 @@ static const struct amd_ip_funcs cik_ih_ip_funcs = {  static const struct amdgpu_ih_funcs cik_ih_funcs = {  	.get_wptr = cik_ih_get_wptr, -	.prescreen_iv = cik_ih_prescreen_iv,  	.decode_iv = cik_ih_decode_iv,  	.set_rptr = cik_ih_set_rptr  };  | 
