OSDN Git Service

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 20:11:15 +0000 (15:11 -0500)
commite851abd830885c37c18183e36541d2fc11e3c674
tree5520ba3f6c4b15b049b96939b34a93b2060eb13b
parent3442516d14816b862bf7d1150c84ef1d0bfdd915
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