]> 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)
commitfd4783bd6a1bd2d379fe462dce7294f0b909bf15
tree22f88fb1ab1cb9d9fbddb0869749a0892c7356cd
parent8c955be43df4ecc1d85c44a6effcc2a820ed854f
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