]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix UVD suspend and resume for VI APU
authorLeo Liu <leo.liu@amd.com>
Fri, 11 Sep 2015 21:09:57 +0000 (17:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Sep 2015 21:23:41 +0000 (17:23 -0400)
commit8ca62a5106e8ac6419167ac5018cbf419faad3a5
tree76621e36140beefbac705c4f8dcb595a948c3303
parent638d62205e555d301824a2bea2a094f26527df57
drm/amdgpu: fix UVD suspend and resume for VI APU

User space passed the same handle before suspend and after resume,
so we have remove the session and handle destroy, and keep the
firmware untouched.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c