From: Steve Longerbeam
This patch changes struct ipu_di_signal_cfg to use struct videomode
to define video timings and flags.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/drm/imx/ipuv3-crtc.c | 27 +++-
drivers/gpu/ipu-v3/ipu-di.c | 89 --
From: Steve Longerbeam
The encoder ->mode_set() methods need to use the hw adjusted mode,
not the original mode.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/drm/imx/imx-hdmi.c |4 ++--
drivers/gpu/drm/imx/imx-ldb.c |4 ++--
drivers/gpu/drm/imx/imx-tve.c |
From: Steve Longerbeam
Ask the IPU display interface, via ipu_di_adjust_videomode(), to
adjust a video mode to meet any DI restrictions. The function takes
a subsystem independent videomode, so the drm_display_mode must be
converted to videomode first, and then the adjusted mode converted
back to
From: Steve Longerbeam
Add conversion from drm_display_mode to videomode.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/drm/drm_modes.c | 40
include/drm/drm_modes.h |2 ++
2 files changed, 42 insertions(+)
diff --git a/drivers/gpu/drm/drm_
From: Steve Longerbeam
h_total and v_total were calculated in ipu_di_init_sync_panel()
but never actually used. Remove.
Signed-off-by: Steve Longerbeam
---
drivers/gpu/ipu-v3/ipu-di.c |6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/ipu-v3/ipu-di.c b/drivers/gpu/ipu-v3/i
From: Jiada Wang
On some monitors, high resolution modes are not working, exhibiting
pixel column truncation problems (for example, 1280x1024 displays as
1280x1022).
The function ipu_di_adjust_videomode() aims to fix these issues by
adjusting a passed videomode to IPU restrictions. The function
From: Steve Longerbeam
This patchset implements ->mode_fixup() in the imx ipuv3-crtc driver,
using a new support function ipu_di_adjust_videomode(). This new
function needs to be subsystem independent, so it accepts a video
mode as a 'struct videomode'. Hence ipu-crtc ->mode_fixup() needs
another