浏览代码

disp: msm: sde: add ctx_id to debug message in sde_fence_signal

Print the fence's ctx_id in debug message for timeline reset attempt.

Change-Id: I920105e8e6a088b82fcfeec1be6ba60bac24b02f
Signed-off-by: Grace An <[email protected]>
Grace An 3 年之前
父节点
当前提交
69c0f721c5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      msm/sde/sde_fence.c

+ 2 - 2
msm/sde/sde_fence.c

@@ -904,8 +904,8 @@ void sde_fence_signal(struct sde_fence_context *ctx, ktime_t ts,
 
 
 		if ((int)(ctx->done_count - ctx->commit_count) < 0) {
 		if ((int)(ctx->done_count - ctx->commit_count) < 0) {
 			SDE_DEBUG(
 			SDE_DEBUG(
-			  "timeline reset attempt! done count:%d commit:%d\n",
-				ctx->done_count, ctx->commit_count);
+			  "timeline reset attempt! ctx:0x%x done count:%d commit:%d\n",
+				ctx->drm_id, ctx->done_count, ctx->commit_count);
 			ctx->done_count = ctx->commit_count;
 			ctx->done_count = ctx->commit_count;
 			SDE_EVT32(ctx->drm_id, ctx->done_count,
 			SDE_EVT32(ctx->drm_id, ctx->done_count,
 				ctx->commit_count, ktime_to_us(ts),
 				ctx->commit_count, ktime_to_us(ts),