]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: enable GTT PD/PT for raven v3
authorChristian König <christian.koenig@amd.com>
Wed, 22 Aug 2018 14:44:56 +0000 (16:44 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:19:49 +0000 (15:19 -0500)
commit866f8f7d9a64ad09ba55ef17ca868134d8ab162a
tree52fb2d23d36a9ee30c47142d4e1a4d2c0820fca4
parent1b43661ccc599ec1bb4e832353f65b2d70e9f5f5
drm/amdgpu: enable GTT PD/PT for raven v3

Should work on Vega10 as well, but with an obvious performance hit.

Older APUs can be enabled as well, but will probably be more work.

v2: fix error checking
v3: use more general check

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c