artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e3082
)
drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE
author
jsg
<jsg@openbsd.org>
Wed, 22 Dec 2021 12:33:02 +0000
(12:33 +0000)
committer
jsg
<jsg@openbsd.org>
Wed, 22 Dec 2021 12:33:02 +0000
(12:33 +0000)
From Le Ma
aec5897b277b13acd8f913d777654d4d092a24f1
in linux 5.10.y/5.10.88
f3a8076eb28cae1553958c629aecec479394bbe2
in mainline linux
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
b/sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
index
1b363f2
..
1e7829e
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
@@
-3002,8
+3002,8
@@
static void gfx_v9_0_init_pg(struct amdgpu_device *adev)
AMD_PG_SUPPORT_CP |
AMD_PG_SUPPORT_GDS |
AMD_PG_SUPPORT_RLC_SMU_HS)) {
- WREG32
(
mmRLC_JUMP_TABLE_RESTORE,
- adev->gfx.rlc.cp_table_gpu_addr >> 8);
+ WREG32
_SOC15(GC, 0,
mmRLC_JUMP_TABLE_RESTORE,
+
adev->gfx.rlc.cp_table_gpu_addr >> 8);
gfx_v9_0_init_gfx_power_gating(adev);
}
}