artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad46d0
)
drm/amdgpu: fix doorbell regression
author
jsg
<jsg@openbsd.org>
Mon, 20 May 2024 04:49:32 +0000
(
04:49
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 20 May 2024 04:49:32 +0000
(
04:49
+0000)
From Shashank Sharma
4fd8cd4154a213e944933622039d83184b31617c
in linux-6.6.y/6.6.31
705d0480e6ae5a73ca3a9c04316d0678e19a46ed
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
index
6b9f0b7
..
7f90c3e
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/
sys/dev/pci/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)