]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix SI UVD firmware validate resume fail
authorSonny Jiang <sonny.jiang@amd.com>
Fri, 6 Nov 2020 21:42:47 +0000 (16:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:29:35 +0000 (12:29 -0500)
commit9c27fe33268b571522409a339118952e66f2d1c3
tree22f88fb1ab1cb9d9fbddb0869749a0892c7356cd
parent5f9c3ca754b6a5bfdc5ed33ea2b6153a9caa3358
drm/amdgpu: fix SI UVD firmware validate resume fail

The SI UVD firmware validate key is stored at the end of firmware,
which is changed during resume while playing video. So get the key
at sw_init and store it for fw validate using.

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c