summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_gart.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2013-11-25 18:42:10 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-12-03 01:40:43 +0400
commit84d597b74b58dd52621abf5f052a81370ace1816 (patch)
treeac2c7bc14b9e490e33915dbf12d839b1f6fb18f1 /drivers/gpu/drm/radeon/radeon_gart.c
parentec39f64bba3421c2060fcbd1aeb6eec81fe0a42d (diff)
downloadlinux-84d597b74b58dd52621abf5f052a81370ace1816.tar.xz
drm/radeon: add VMID allocation trace point
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_gart.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_gart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c
index 3044e504f4ec..aa8f7782d295 100644
--- a/drivers/gpu/drm/radeon/radeon_gart.c
+++ b/drivers/gpu/drm/radeon/radeon_gart.c
@@ -29,6 +29,7 @@
#include <drm/radeon_drm.h>
#include "radeon.h"
#include "radeon_reg.h"
+#include "radeon_trace.h"
/*
* GART
@@ -737,6 +738,7 @@ struct radeon_fence *radeon_vm_grab_id(struct radeon_device *rdev,
for (i = 0; i < 2; ++i) {
if (choices[i]) {
vm->id = choices[i];
+ trace_radeon_vm_grab_id(vm->id, ring);
return rdev->vm_manager.active[choices[i]];
}
}