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)
commitad1a58a45ae9a35aaf68b27d21600889360680f3
treebd9f4d69d9f228f89e0bdac4cff725ebecaf7dae
parent587cdda8f739f4c57c91d3f73a1d5b2851a86cb8
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