summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_fence.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2013-12-12 12:42:39 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-12-25 01:12:35 +0400
commite290b63475a85f188556dd2a870d439e09a87fd5 (patch)
treeeca91f7fbaea79c5d3a51114e95838a2becb9c14 /drivers/gpu/drm/radeon/radeon_fence.c
parent931dc3a4564ba3d8ce01090d717e8458b580ec75 (diff)
downloadlinux-e290b63475a85f188556dd2a870d439e09a87fd5.tar.xz
drm/radeon: update fence values in before reporting them
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_fence.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_fence.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c
index d3a86e43c012..866744e47cfa 100644
--- a/drivers/gpu/drm/radeon/radeon_fence.c
+++ b/drivers/gpu/drm/radeon/radeon_fence.c
@@ -841,6 +841,8 @@ static int radeon_debugfs_fence_info(struct seq_file *m, void *data)
if (!rdev->fence_drv[i].initialized)
continue;
+ radeon_fence_process(rdev, i);
+
seq_printf(m, "--- ring %d ---\n", i);
seq_printf(m, "Last signaled fence 0x%016llx\n",
(unsigned long long)atomic64_read(&rdev->fence_drv[i].last_seq));