linux/drivers/gpu/drm/imx
Ville Syrjälä 06edb0a0cf drm/imx: Use drm_mode_get_hv_timing() to populate plane clip rectangle
Use drm_mode_get_hv_timing() to fill out the plane clip rectangle.

Note that this replaces crtc_state->adjusted_mode usage with
crtc_state->mode. The latter is the correct choice since that's the
mode the user provided and it matches the plane crtc coordinates
the user also provided.

Once everyone agrees on this we can move the clip handling into
drm_atomic_helper_check_plane_state().

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171123190502.28449-7-ville.syrjala@linux.intel.com
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Thierry Reding <treding@nvidia.com>
2018-01-23 17:41:42 +02:00
..
Kconfig drm/imx: merge imx-drm-core and ipuv3-crtc in one module 2017-04-04 10:59:08 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dw_hdmi-imx.c drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback 2017-06-05 12:09:50 +05:30
imx-drm-core.c drm/imx: format modifier support 2018-01-05 11:33:24 +10:00
imx-drm.h drm/imx: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:40 +01:00
imx-ldb.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
imx-tve.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
ipuv3-crtc.c drm/imx: switch to drm_*_get(), drm_*_put() helpers 2017-10-02 16:18:58 +02:00
ipuv3-plane.c drm/imx: Use drm_mode_get_hv_timing() to populate plane clip rectangle 2018-01-23 17:41:42 +02:00
ipuv3-plane.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
parallel-display.c drm/imx: parallel-display: use correct connector enum 2017-10-02 16:19:04 +02:00