]> 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:30:37 +0000 (12:30 -0500)
commit6bb9505f1630318dd2726f450a4b0f4ed3f24e23
tree9a565016d4ed3b7ddc14ff7f1f82c2c34e37cb29
parentfd4783bd6a1bd2d379fe462dce7294f0b909bf15
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>
CC: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c