mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
drm/rockchip: dsi: 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: Sandy Huang <hjc@rock-chips.com> Change-Id: I2b20b6345149cc96f6d12ccc9d6b41b85d6b9c10
This commit is contained in:
@@ -736,9 +736,9 @@ static void dw_mipi_dsi_line_timer_config(struct dw_mipi_dsi *dsi,
|
||||
{
|
||||
u32 htotal, hsa, hbp, lbcc;
|
||||
|
||||
htotal = mode->htotal;
|
||||
hsa = mode->hsync_end - mode->hsync_start;
|
||||
hbp = mode->htotal - mode->hsync_end;
|
||||
htotal = mode->crtc_htotal;
|
||||
hsa = mode->crtc_hsync_end - mode->crtc_hsync_start;
|
||||
hbp = mode->crtc_htotal - mode->crtc_hsync_end;
|
||||
|
||||
/*
|
||||
* TODO dw drv improvements
|
||||
|
||||
Reference in New Issue
Block a user