drm/amdgpu: Power on uvd block when hw_fini
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 23 Aug 2018 07:41:57 +0000 (15:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 19:49:48 +0000 (14:49 -0500)
commit72ef23de207bad349ddc648296f330e176ac175b
tree34a2d2bde4a467ebc52401409e4f1998ee5cce83
parent2ab4d0e74256fc49b7b270f63c1d1e47c2455abc
drm/amdgpu: Power on uvd block when hw_fini

when hw_fini/suspend, smu only need to power on uvd block
if uvd pg is supported, don't need to call uvd to do hw_init.

v2: fix typo in patch descriptions and comments.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/kv_dpm.c