OSDN Git Service

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)
commit284dec4317c8e76f45d3ce922f673c80331812f1
tree52fb2d23d36a9ee30c47142d4e1a4d2c0820fca4
parent24a8d289d532003a167b8f52f97c50430db76ca3
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