drm/amdgpu: when suspending, if uvd/vce was running. need to cancel delay work.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 12 Apr 2016 11:25:52 +0000 (19:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Apr 2016 04:26:30 +0000 (00:26 -0400)
commit85cc88f02eb0ecf44493c1b2ebb6f206cd5fc321
tree01b8d1728a83cd6ac7c0ab7c0021c5b6098dbc0e
parent7403c515c49c033fec33df0814fffdc977e6acdc
drm/amdgpu: when suspending, if uvd/vce was running. need to cancel delay work.

fix the issue that when resume back, uvd/vce
dpm was disabled and uvd/vce's performace
dropped.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c