]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: track VM update fences separately
authorChristian König <christian.koenig@amd.com>
Wed, 19 Nov 2014 13:01:24 +0000 (14:01 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Nov 2014 18:00:17 +0000 (13:00 -0500)
commit960291c252271744cc95416f5ffbe6f986446349
treebd9f4d69d9f228f89e0bdac4cff725ebecaf7dae
parente12cba8478960baea794a4852fcf71b9f4872639
drm/radeon: track VM update fences separately

Note for each fence if it's a VM page table update or not. This allows
us to determine the last VM update in a sync object and so to figure
out if we need to flush the TLB or not.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_fence.c
drivers/gpu/drm/radeon/radeon_ib.c
drivers/gpu/drm/radeon/radeon_sync.c
drivers/gpu/drm/radeon/radeon_vm.c