linux_dsm_epyc7002/drivers/gpu/drm/rcar-du
Laurent Pinchart 401712e035 drm: rcar-du: Clip planes to screen boundaries
Unlike the KMS API, the hardware doesn't support planes exceeding the
screen boundaries or planes being located fully off-screen. We need to
clip plane coordinates to support the use case.

Fortunately the DRM core offers a drm_atomic_helper_check_plane_state()
helper that validates the scaling factor and clips the plane
coordinates. Use it to implement the plane atomic check and use the
clipped source and destination rectangles from the plane state instead
of the unclipped source and CRTC coordinates to configure the device.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
2017-12-04 18:38:31 +02:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rcar_du_crtc.c drm: rcar-du: Clip planes to screen boundaries 2017-12-04 18:38:31 +02:00
rcar_du_crtc.h
rcar_du_drv.c drm: rcar-du: Implement system suspend/resume support 2017-12-04 13:04:11 +02:00
rcar_du_drv.h drm: rcar-du: Implement system suspend/resume support 2017-12-04 13:04:11 +02:00
rcar_du_encoder.c
rcar_du_encoder.h
rcar_du_group.c
rcar_du_group.h
rcar_du_kms.c
rcar_du_kms.h
rcar_du_lvdscon.c drm: rcar-du: Don't set connector DPMS property 2017-12-04 13:04:11 +02:00
rcar_du_lvdscon.h
rcar_du_lvdsenc.c
rcar_du_lvdsenc.h
rcar_du_plane.c drm: rcar-du: Clip planes to screen boundaries 2017-12-04 18:38:31 +02:00
rcar_du_plane.h drm: rcar-du: Share plane atomic check code between Gen2 and Gen3 2017-12-04 13:04:11 +02:00
rcar_du_regs.h
rcar_du_vsp.c drm: rcar-du: Clip planes to screen boundaries 2017-12-04 18:38:31 +02:00
rcar_du_vsp.h
rcar_dw_hdmi.c
rcar_lvds_regs.h