]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix a page fault
authorSonny Jiang <sonny.jiang@amd.com>
Fri, 20 Nov 2020 07:38:09 +0000 (02:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:03:37 +0000 (12:03 -0500)
commit0dc86d5b5f4319691d3d125f710625ebd8eaa990
tree79b9f4163e9ebc7df9f3e4b3525a93464a6b63ec
parentddccd37c8f76b25e17512227c69b5f05fdeb3606
drm/amdgpu: fix a page fault

The UVD firmware is copied to cpu addr in uvd_resume, so it
should be used after that. This is to fix a bug introduced by
patch drm/amdgpu: fix SI UVD firmware validate resume fail.

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>
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c