Skip to content

Commit 705d048

Browse files
contactshashanksharmaalexdeucher
authored andcommitted
drm/amdgpu: fix doorbell regression
This patch adds a missed handling of PL domain doorbell while handling VRAM faults. Cc: Christian Koenig <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Fixes: a6ff969 ("drm/amdgpu: fix visible VRAM handling during faults") Reviewed-by: Christian Koenig <christian.koenig@amd.com> Signed-off-by: Shashank Sharma <shashank.sharma@amd.com> Signed-off-by: Arvind Yadav <arvind.yadav@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent f5b9053 commit 705d048

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ bool amdgpu_res_cpu_visible(struct amdgpu_device *adev,
419419
return false;
420420

421421
if (res->mem_type == TTM_PL_SYSTEM || res->mem_type == TTM_PL_TT ||
422-
res->mem_type == AMDGPU_PL_PREEMPT)
422+
res->mem_type == AMDGPU_PL_PREEMPT || res->mem_type == AMDGPU_PL_DOORBELL)
423423
return true;
424424

425425
if (res->mem_type != TTM_PL_VRAM)

0 commit comments

Comments
 (0)