]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97fe96e5718e6404c0b74cafddd1c76e8b4fe39e
treeb89d51809984f2dace1b59377484bdd826aad892
parent2163975bd32e967d004896ae3a88e8139c6c26c4
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