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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:59:33 +0000 (11:59 +0100)
commitaad60bce9beaa6336b1bca217cf3c18a59218dba
treed25c29082b0f75e1e56c11257a1586fc2e478de6
parenta4b4648c01499dea7e407ab543264cb475c0c07f
drm/amdgpu/gfx10,11: use memcpy_to/fromio for MQDs

[ Upstream commit b3c942bb6c32a8ddc1d52ee6bc24b8cf732dddf4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c