artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b487d
)
drm/amdgpu/soc21: don't remap HDP registers for SR-IOV
author
jsg
<jsg@openbsd.org>
Mon, 9 Oct 2023 02:30:32 +0000
(
02:30
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 9 Oct 2023 02:30:32 +0000
(
02:30
+0000)
From Alex Deucher
cca15a82790772c0303ae295f7153c4af0536ad1
in linux-6.1.y/6.1.56
1832403cd41ca6b19b24e9d64f79cb08d920ca44
in mainline linux
sys/dev/pci/drm/amd/amdgpu/soc21.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/soc21.c
b/sys/dev/pci/drm/amd/amdgpu/soc21.c
index
d150a90
..
56af7b5
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/soc21.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/soc21.c
@@
-755,7
+755,7
@@
static int soc21_common_hw_init(void *handle)
* for the purpose of expose those registers
* to process space
*/
- if (adev->nbio.funcs->remap_hdp_registers)
+ if (adev->nbio.funcs->remap_hdp_registers
&& !amdgpu_sriov_vf(adev)
)
adev->nbio.funcs->remap_hdp_registers(adev);
/* enable the doorbell aperture */
soc21_enable_doorbell_aperture(adev, true);