diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/sync_gk20a.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/sync_gk20a.c index d823ef9c..de30eed4 100644 --- a/drivers/gpu/nvgpu/gk20a/sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/sync_gk20a.c | |||
@@ -433,7 +433,12 @@ static void gk20a_sync_timeline_value_str(struct sync_timeline *timeline, | |||
433 | static void gk20a_sync_pt_value_str_for_sema(struct gk20a_sync_pt *pt, | 433 | static void gk20a_sync_pt_value_str_for_sema(struct gk20a_sync_pt *pt, |
434 | char *str, int size) | 434 | char *str, int size) |
435 | { | 435 | { |
436 | snprintf(str, size, "gk20a-sema"); | 436 | struct gk20a_semaphore *s = pt->sema; |
437 | |||
438 | snprintf(str, size, "S: c=%d [v=%u,r_v=%u]", | ||
439 | s->hw_sema->ch->hw_chid, | ||
440 | gk20a_semaphore_get_value(s), | ||
441 | gk20a_semaphore_read(s)); | ||
437 | } | 442 | } |
438 | 443 | ||
439 | static void gk20a_sync_pt_value_str(struct sync_pt *sync_pt, char *str, | 444 | static void gk20a_sync_pt_value_str(struct sync_pt *sync_pt, char *str, |