]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu/gfx10,11: use memcpy_to/fromio for MQDs
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Oct 2023 18:47:57 +0000 (14:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Nov 2023 15:38:19 +0000 (11:38 -0400)
commitb3c942bb6c32a8ddc1d52ee6bc24b8cf732dddf4
treef2094ea09e63e704e82442df66e431f9ca9947c0
parentf7aeee73461560bf70ef48b238dd6a48068debff
drm/amdgpu/gfx10,11: use memcpy_to/fromio for MQDs

Since they were moved to VRAM, we need to use the IO
variants of memcpy.

Fixes: 1cfb4d612127 ("drm/amdgpu: put MQDs in VRAM")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c