OpenCloudOS-Kernel/drivers/gpu/drm/mediatek
Ville Syrjälä bd6120dbcb drm/mediatek: Use drm_mode_get_hv_timing() to populate plane clip rectangle
Use drm_mode_get_hv_timing() to fill out the plane clip rectangle.

No functional changes as the code already uses crtc_state->mode
to populate the clip, which is also what drm_mode_get_hv_timing()
uses.

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: CK Hu <ck.hu@mediatek.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-8-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:45 +02:00
..
Kconfig drm/mediatek: add ARM_SMCCC dependency 2016-08-11 08:42:01 +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
mtk_cec.c drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_cec.h drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_disp_color.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_disp_ovl.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_disp_rdma.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_dpi.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_dpi_regs.h drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_drm_crtc.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_drm_crtc.h drm: mediatek: use vblank hooks in struct drm_crtc_funcs 2017-02-21 11:17:54 -05:00
mtk_drm_ddp.c drm/mediatek: add support for Mediatek SoC MT2701 2017-04-08 00:02:17 +08:00
mtk_drm_ddp.h drm/mediatek: add shadow register support 2017-04-08 00:02:13 +08:00
mtk_drm_ddp_comp.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_drm_ddp_comp.h drm/mediatek: add BLS component 2017-04-08 00:02:13 +08:00
mtk_drm_drv.c drm/mediatek: Use .dumb_map_offset and .dumb_destroy defaults 2017-07-29 14:00:11 +02:00
mtk_drm_drv.h drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_drm_fb.c drm/mediatek: switch to drm_*_get(), drm_*_put() helpers 2017-08-11 11:35:02 -04:00
mtk_drm_fb.h
mtk_drm_gem.c drm/mediatek: switch to drm_*_get(), drm_*_put() helpers 2017-08-11 11:35:02 -04:00
mtk_drm_gem.h drm/mediatek: Use .dumb_map_offset and .dumb_destroy defaults 2017-07-29 14:00:11 +02:00
mtk_drm_plane.c drm/mediatek: Use drm_mode_get_hv_timing() to populate plane clip rectangle 2018-01-23 17:41:45 +02:00
mtk_drm_plane.h drm/mediatek: Remove mtk_drm_plane 2016-08-08 14:20:00 -04:00
mtk_dsi.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
mtk_hdmi.c drm/edid: Allow HDMI infoframe without VIC or S3D 2017-11-22 19:24:34 +02:00
mtk_hdmi.h drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_hdmi_ddc.c drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_hdmi_regs.h drm/mediatek: enable hdmi output control bit 2016-06-16 16:30:38 +02:00
mtk_mipi_tx.c drm/mediatek: add support for Mediatek SoC MT2701 2017-04-08 00:02:17 +08:00
mtk_mt8173_hdmi_phy.c drm/mediatek: enhance the HDMI driving current 2016-10-19 09:06:53 +08:00