Patch "drm/amdgpu: fix doorbell regression" has been added to the 6.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/amdgpu: fix doorbell regression

to the 6.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-amdgpu-fix-doorbell-regression.patch
and it can be found in the queue-6.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 1709dfb37341b16cc1b7415c7cb2483952108396
Author: Shashank Sharma <shashank.sharma@xxxxxxx>
Date:   Mon Apr 29 14:29:47 2024 +0200

    drm/amdgpu: fix doorbell regression
    
    [ Upstream commit 705d0480e6ae5a73ca3a9c04316d0678e19a46ed ]
    
    This patch adds a missed handling of PL domain doorbell while
    handling VRAM faults.
    
    Cc: Christian Koenig <christian.koenig@xxxxxxx>
    Cc: Alex Deucher <alexander.deucher@xxxxxxx>
    Fixes: a6ff969fe9cb ("drm/amdgpu: fix visible VRAM handling during faults")
    Reviewed-by: Christian Koenig <christian.koenig@xxxxxxx>
    Signed-off-by: Shashank Sharma <shashank.sharma@xxxxxxx>
    Signed-off-by: Arvind Yadav <arvind.yadav@xxxxxxx>
    Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
index 851509c6e90eb..8d5413ffad301 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)




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux