summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-01-23 14:24:15 +0100
committerAlex Deucher <alexander.deucher@amd.com>2014-01-29 15:23:01 -0500
commit593b26353f1965682db955d0d2af8bc564aabdf8 (patch)
treedc24b66b42f54aa23d73d58fad5be7c02ee19d93 /drivers/gpu/drm/radeon/radeon.h
parent45ab1e07808585c645bc82afd7487a91390f5511 (diff)
downloadblackbird-op-linux-593b26353f1965682db955d0d2af8bc564aabdf8.tar.gz
blackbird-op-linux-593b26353f1965682db955d0d2af8bc564aabdf8.zip
drm/radeon: fix VMID use tracking
Otherwise we allocate a new VMID on nearly every submit. Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index c5519ca4bbc4..4a8ac1cd6b4c 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -867,6 +867,8 @@ struct radeon_vm {
struct radeon_fence *fence;
/* last flush or NULL if we still need to flush */
struct radeon_fence *last_flush;
+ /* last use of vmid */
+ struct radeon_fence *last_id_use;
};
struct radeon_vm_manager {
OpenPOWER on IntegriCloud