diff options
| author | Sonny Jiang <[email protected]> | 2020-11-06 21:42:47 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-11-24 17:29:35 +0000 |
| commit | 4d6a95366117b241bb3298e1c318a36ebb7544d0 (patch) | |
| tree | 22f88fb1ab1cb9d9fbddb0869749a0892c7356cd /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | |
| parent | drm/amd/amdgpu: fix null pointer in runtime pm (diff) | |
| download | kernel-4d6a95366117b241bb3298e1c318a36ebb7544d0.tar.gz kernel-4d6a95366117b241bb3298e1c318a36ebb7544d0.zip | |
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 <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h index 5eb63288d157..edbb8194ee81 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h @@ -67,6 +67,7 @@ struct amdgpu_uvd { unsigned harvest_config; /* store image width to adjust nb memory state */ unsigned decode_image_width; + uint32_t keyselect; }; int amdgpu_uvd_sw_init(struct amdgpu_device *adev); |
