1
0
Fork 0
alistair23-linux/drivers/gpu/drm/arm
Ville Syrjälä de9f422e30 drm/arm/mali-dp: 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: Liviu Dudau <liviu.dudau@arm.com>
Cc: Brian Starkey <brian.starkey@arm.com>
Cc: Mali DP Maintainers <malidp@foss.arm.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171123190502.28449-5-ville.syrjala@linux.intel.com
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
2018-01-23 17:41:36 +02:00
..
Kconfig drm/arm: make fbdev support really optional 2016-07-18 09:11:42 +02:00
Makefile drm/arm: Add support for Mali Display Processors 2016-06-15 17:29:22 +01:00
hdlcd_crtc.c drm/arm/hdlcd: Use drm_mode_get_hv_timing() to populate plane clip rectangle 2018-01-23 17:41:32 +02:00
hdlcd_drv.c Merge tag 'drm-misc-next-2017-11-30' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2017-12-04 05:42:49 +10:00
hdlcd_drv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdlcd_regs.h
malidp_crtc.c drm: mali-dp: Disable planes when their CRTC gets disabled. 2017-11-24 15:43:52 +00:00
malidp_drv.c drm/arm/mali: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:43 +01:00
malidp_drv.h drm/arm/mali: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:43 +01:00
malidp_hw.c drm: mali-dp: Separate static internal data into a read-only structure. 2017-11-24 15:42:59 +00:00
malidp_hw.h drm: mali-dp: Separate static internal data into a read-only structure. 2017-11-24 15:42:59 +00:00
malidp_planes.c drm/arm/mali-dp: Use drm_mode_get_hv_timing() to populate plane clip rectangle 2018-01-23 17:41:36 +02:00
malidp_regs.h drm: mali-dp: Enable image enhancement when scaling 2017-04-24 13:28:08 +01:00