summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorChunming Zhou <David1.Zhou@amd.com>2015-11-11 09:56:00 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-11-16 19:05:57 +0300
commit7034decf6a5b1ff778d83ff9d7ce1f0b404804e4 (patch)
tree10a2cfe01d31baf7eb308edd267161016affbd3a /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent5f2e816b2957fdde3c7d51d55db6751a980f4bea (diff)
downloadlinux-7034decf6a5b1ff778d83ff9d7ce1f0b404804e4.tar.xz
drm/amdgpu: add command submission workflow tracepoint
OGL needs these tracepoints to investigate performance issue. Change-Id: I5e58187d061253f7d665dfce8e4e163ba91d3e2b Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index bf32096b8eb7..2ae73d5232dd 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@ -888,7 +888,7 @@ int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
ttm_eu_fence_buffer_objects(&parser.ticket,
&parser.validated,
&job->base.s_fence->base);
-
+ trace_amdgpu_cs_ioctl(job);
mutex_unlock(&job->job_lock);
amdgpu_cs_parser_fini_late(&parser);
mutex_unlock(&vm->mutex);