drm/amdgpu: use GTT for uvd_get_create/destory_msg
authorChen Li <chenli@uniontech.com>
Fri, 25 Dec 2020 03:58:00 +0000 (11:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:32:20 +0000 (11:32 -0500)
commita11d9ff3ebe05d6c9412eaa06a7398e3729749ff
treeb89d51809984f2dace1b59377484bdd826aad892
parentede6b6bc43c68ef030f88235e91e85939b8bdb49
drm/amdgpu: use GTT for uvd_get_create/destory_msg

On modern gpus, GTT (system memory) works as well here, and this may
also be a workaround for platforms which cannot map vram correctly.

Signed-off-by: chenli <chenli@uniontech.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c