]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: switch the GDS only on demand v2
authorChristian König <christian.koenig@amd.com>
Tue, 1 Mar 2016 14:09:25 +0000 (15:09 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Mar 2016 16:01:49 +0000 (11:01 -0500)
commit29be760ff649adc518fc87ddb77affd50f712f07
tree8d9bbb4983b34c39ead2deb849ce8a48cd9102cf
parentd5223e6c63c7cf799056806c1583d16d16e13427
drm/amdgpu: switch the GDS only on demand v2

Switching the GDS space to often seems to be problematic.

This patch together with the following can avoid VM faults on context switch.

v2: extend commit message a bit

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Reviewed-by: Chunming Zhou <david1.zhou@amd.com> (v1)
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c