Files
kernel_google_wahoo/drivers/gpu/drm/radeon
Chen Li 959f053a01 radeon: use memcpy_to/fromio for UVD fw upload
[ Upstream commit ab8363d3875a83f4901eb1cc00ce8afd24de6c85 ]

I met a gpu addr bug recently and the kernel log
tells me the pc is memcpy/memset and link register is
radeon_uvd_resume.

As we know, in some architectures, optimized memcpy/memset
may not work well on device memory. Trival memcpy_toio/memset_io
can fix this problem.

BTW, amdgpu has already done it in:
commit ba0b2275a678 ("drm/amdgpu: use memcpy_to/fromio for UVD fw upload"),
that's why it has no this issue on the same gpu and platform.

Signed-off-by: Chen Li <chenli@uniontech.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:49:34 -04:00
..
2015-05-26 15:09:03 +02:00
2015-10-21 11:35:11 -04:00
2015-04-13 11:17:58 -04:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:38 -04:00
2015-05-26 10:31:21 -04:00
2014-03-06 16:46:56 -05:00
2015-10-21 11:35:11 -04:00
2015-09-30 10:44:48 +02:00
2014-12-02 10:58:33 +10:00
2015-11-30 14:44:34 -05:00
2015-09-30 10:44:48 +02:00
2013-12-18 11:35:01 +10:00
2015-05-07 11:00:15 -04:00