diff options
author | Chen Li <chenli@uniontech.com> | 2021-06-04 11:43:02 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-04 23:03:04 +0300 |
commit | 65e06b787303e376fc7b60750e3dc3811eb96e50 (patch) | |
tree | 57ba572e467047776b2cb2ab80a4fc562aa9d4df /.cocciconfig | |
parent | c0f2b640e53bbc8e2dd233b7584f4bb37014aac6 (diff) | |
download | linux-65e06b787303e376fc7b60750e3dc3811eb96e50.tar.xz |
radeon: use memcpy_to/fromio for UVD fw upload
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>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions