mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
drm/rockchip: lvds: use mode crtc_* timing for hardware config
The mode contains two copies of timings, first are the plain and origin timings, this should keep unchanged, the second are copy from the first timing by add some computed and special fixup, this is associate with hardware. Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com> Change-Id: I219f440c922847f0b0affaaaa268161213fa5f78
This commit is contained in:
@@ -545,7 +545,7 @@ static void rk3288_lvds_enable(struct rockchip_lvds *lvds)
|
||||
RK3288_LVDS_CON_SELECT(lvds->format);
|
||||
|
||||
if (lvds->dual_channel) {
|
||||
u32 h_bp = mode->htotal - mode->hsync_start;
|
||||
u32 h_bp = mode->crtc_htotal - mode->crtc_hsync_start;
|
||||
|
||||
val |= RK3288_LVDS_CON_ENABLE_2(1) |
|
||||
RK3288_LVDS_CON_ENABLE_1(1) |
|
||||
|
||||
Reference in New Issue
Block a user