mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
drm/rockchip: vop: invert dclk on rv1106 to modify signal quality
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I6d01aaaaead8ea3a45abec75f03dbab140c49da2
This commit is contained in:
@@ -3268,6 +3268,9 @@ static void vop_crtc_atomic_enable(struct drm_crtc *crtc,
|
||||
vop_mcu_mode(crtc);
|
||||
|
||||
dclk_inv = (s->bus_flags & DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE) ? 1 : 0;
|
||||
/* For improving signal quality, dclk need to be inverted by default on rv1106. */
|
||||
if ((VOP_MAJOR(vop->version) == 2 && VOP_MINOR(vop->version) == 12))
|
||||
dclk_inv = !dclk_inv;
|
||||
|
||||
VOP_CTRL_SET(vop, dclk_pol, dclk_inv);
|
||||
val = (adjusted_mode->flags & DRM_MODE_FLAG_NHSYNC) ?
|
||||
|
||||
Reference in New Issue
Block a user