projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05c00c2
)
drm/rockchip: cdn-dp: add more log for video config
author
Chris Zhong
<zyw@rock-chips.com>
Wed, 8 Mar 2017 02:27:57 +0000
(10:27 +0800)
committer
Sean Paul
<seanpaul@chromium.org>
Mon, 13 Mar 2017 19:59:35 +0000
(15:59 -0400)
In order to analyze some video config failed, add some useful
printouts.
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link:
http://patchwork.freedesktop.org/patch/msgid/1488940077-22297-4-git-send-email-zyw@rock-chips.com
drivers/gpu/drm/rockchip/cdn-dp-reg.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/cdn-dp-reg.c
b/drivers/gpu/drm/rockchip/cdn-dp-reg.c
index 963d8abec463eb74660bbe356372e184e71236cc..b14d211f6c21739766ed8707b8ffd2e2d30e7f18 100644
(file)
--- a/
drivers/gpu/drm/rockchip/cdn-dp-reg.c
+++ b/
drivers/gpu/drm/rockchip/cdn-dp-reg.c
@@
-671,6
+671,10
@@
int cdn_dp_config_video(struct cdn_dp_device *dp)
rem = do_div(symbol, 1000);
if (tu_size_reg > 64) {
ret = -EINVAL;
+ DRM_DEV_ERROR(dp->dev,
+ "tu error, clk:%d, lanes:%d, rate:%d\n",
+ mode->clock, dp->link.num_lanes,
+ link_rate);
goto err_config_video;
}
} while ((symbol <= 1) || (tu_size_reg - symbol < 4) ||