drm/amdgpu/vcn: Need to unpause dpg before stop dpg
authorEmily Deng <Emily.Deng@amd.com>
Mon, 19 Jun 2023 08:09:07 +0000 (16:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jun 2023 17:12:15 +0000 (13:12 -0400)
commit803f31814f017de50f285efe90fecbb1668391a7
tree5b981823f069770bbdf8ec3f54144bef9f85156a
parent67af691626425187822afe862614aefa304d3ff2
drm/amdgpu/vcn: Need to unpause dpg before stop dpg

Need to unpause dpg first, or it will hit follow error during stop dpg:
"[drm] Register(1) [regUVD_POWER_STATUS] failed to reach value 0x00000001 != 0x00000000n"

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c