summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cik_sdma.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2013-10-29 20:14:48 +0100
committerAlex Deucher <alexander.deucher@amd.com>2013-11-01 15:25:52 -0400
commit74d360f66b99231ed7007eb197dd18cda72c961c (patch)
treeda91f27bc3a37b43b2da143462ef8c52dbac7f5e /drivers/gpu/drm/radeon/cik_sdma.c
parentf9eaf9ae782d6480f179850e27e6f4911ac10227 (diff)
downloadtalos-obmc-linux-74d360f66b99231ed7007eb197dd18cda72c961c.tar.gz
talos-obmc-linux-74d360f66b99231ed7007eb197dd18cda72c961c.zip
drm/radeon: add vm_set_page tracepoint
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/cik_sdma.c')
-rw-r--r--drivers/gpu/drm/radeon/cik_sdma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cik_sdma.c b/drivers/gpu/drm/radeon/cik_sdma.c
index b6286068e111..ec91427094e5 100644
--- a/drivers/gpu/drm/radeon/cik_sdma.c
+++ b/drivers/gpu/drm/radeon/cik_sdma.c
@@ -25,6 +25,7 @@
#include <drm/drmP.h>
#include "radeon.h"
#include "radeon_asic.h"
+#include "radeon_trace.h"
#include "cikd.h"
/* sdma */
@@ -657,6 +658,8 @@ void cik_sdma_vm_set_page(struct radeon_device *rdev,
uint64_t value;
unsigned ndw;
+ trace_radeon_vm_set_page(pe, addr, count, incr, r600_flags);
+
if (flags & RADEON_VM_PAGE_SYSTEM) {
while (count) {
ndw = count * 2;
OpenPOWER on IntegriCloud