diff options
| author | Shashank Sharma <[email protected]> | 2024-04-29 12:29:47 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-30 14:01:04 +0000 |
| commit | 04790139c59ab9dc02337c5ee0d878b213fe45c2 (patch) | |
| tree | ccd3600230fc281980bba234e3d50f67bc92e136 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
| parent | drm/amdgpu: support gfx v12 specific pte/pde fields (diff) | |
| download | kernel-04790139c59ab9dc02337c5ee0d878b213fe45c2.tar.gz kernel-04790139c59ab9dc02337c5ee0d878b213fe45c2.zip | |
drm/amdgpu: fix doorbell regression
This patch adds a missed handling of PL domain doorbell while
handling VRAM faults.
Cc: Christian Koenig <[email protected]>
Cc: Alex Deucher <[email protected]>
Fixes: a6ff969fe9cb ("drm/amdgpu: fix visible VRAM handling during faults")
Reviewed-by: Christian Koenig <[email protected]>
Signed-off-by: Shashank Sharma <[email protected]>
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index 2c1f4016272c..5f075f01dbf1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c @@ -424,7 +424,7 @@ bool amdgpu_res_cpu_visible(struct amdgpu_device *adev, return false; if (res->mem_type == TTM_PL_SYSTEM || res->mem_type == TTM_PL_TT || - res->mem_type == AMDGPU_PL_PREEMPT) + res->mem_type == AMDGPU_PL_PREEMPT || res->mem_type == AMDGPU_PL_DOORBELL) return true; if (res->mem_type != TTM_PL_VRAM) |
