artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d8447e
)
drm/amd/vcn: fix an error msg on vcn 3.0
author
jsg
<jsg@openbsd.org>
Wed, 13 Jul 2022 03:46:27 +0000
(
03:46
+0000)
committer
jsg
<jsg@openbsd.org>
Wed, 13 Jul 2022 03:46:27 +0000
(
03:46
+0000)
From tiancyin
f3647c369c178c1cdea7f6a60dc32d6118afac40
in linux 5.15.y/5.15.54
425d7a87e54ee358f580eaf10cf28dc95f7121c1
in mainline linux
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
b/sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
index
a47a0e8
..
317c69b
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
@@
-1511,7
+1511,7
@@
static int vcn_v3_0_stop_dpg_mode(struct amdgpu_device *adev, int inst_idx)
struct dpg_pause_state state = {.fw_based = VCN_DPG_STATE__UNPAUSE};
uint32_t tmp;
- vcn_v3_0_pause_dpg_mode(adev,
0
, &state);
+ vcn_v3_0_pause_dpg_mode(adev,
inst_idx
, &state);
/* Wait for power status to be 1 */
SOC15_WAIT_ON_RREG(VCN, inst_idx, mmUVD_POWER_STATUS, 1,