linux-stable/drivers/gpu/drm/zte
Ville Syrjälä c60c4af36d drm/zte: 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: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171123190502.28449-15-ville.syrjala@linux.intel.com
Acked-by: Shawn Guo <shawnguo@kernel.org>
Reviewed-by: Thierry Reding <treding@nvidia.com>
2018-01-23 17:59:14 +02:00
..
Kconfig drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zx_common_regs.h drm: zte: move CSC register definitions into a common header 2017-05-04 13:51:52 +08:00
zx_drm_drv.c drm/zte: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:43 +01:00
zx_drm_drv.h drm: zte: add VGA driver support 2017-05-04 13:53:05 +08:00
zx_hdmi.c drm/edid: Allow HDMI infoframe without VIC or S3D 2017-11-22 19:24:34 +02:00
zx_hdmi_regs.h drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
zx_plane.c drm/zte: Use drm_mode_get_hv_timing() to populate plane clip rectangle 2018-01-23 17:59:14 +02:00
zx_plane.h drm: zte: add .atomic_disable hook to disable graphic layer 2017-01-28 10:17:40 +08:00
zx_plane_regs.h drm: zte: move CSC register definitions into a common header 2017-05-04 13:51:52 +08:00
zx_tvenc.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
zx_tvenc_regs.h drm: zte: add tvenc driver support 2017-01-28 11:51:23 +08:00
zx_vga.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
zx_vga_regs.h drm: zte: add VGA driver support 2017-05-04 13:53:05 +08:00
zx_vou.c drm: Convert atomic drivers from CRTC .disable() to .atomic_disable() 2017-06-30 14:53:15 +02:00
zx_vou.h drm: zte: use vblank hooks in struct drm_crtc_funcs 2017-02-09 16:13:20 +08:00
zx_vou_regs.h drm: zte: add VGA driver support 2017-05-04 13:53:05 +08:00