All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] R-Car DU: Clip planes to screen boundaries
@ 2017-11-13  8:46 Laurent Pinchart
  2017-11-13  8:46 ` [PATCH v2 1/2] drm: rcar-du: Share plane atomic check code between Gen2 and Gen3 Laurent Pinchart
  2017-11-13  8:47   ` Laurent Pinchart
  0 siblings, 2 replies; 7+ messages in thread
From: Laurent Pinchart @ 2017-11-13  8:46 UTC (permalink / raw)
  To: dri-devel; +Cc: linux-renesas-soc, Kieran Bingham

Hello,

This patch series fixes support for planes that cross the screen boundaries.
The KMS API supports such a configuration, but the DU and VSP hardware
doesn't. This leads to different kind of dispay artifacts or hangs.

The series starts with a bit of refactoring to share existing code and make it
easier to share new code. The second patch then clips planes that are either
partially or fully off-screen, disabling planes that end up being completely
invisible.

Compared to v1, fully off-screen planes are now accepted (but obviously not
shown).

The patches are based on top of Dave's latest master branch.

Kieran, I have tested this on your Salvator-X ES1.1 board using the DU test
suite. All tests pass (the suspend/resume test requires additional patches,
but that's an unrelated issue), but I can't check the display output remotely.
Would you be able to run the plane boundaries test locally and check that
everything is normal ? Please note that I've pushed a new version of that test
to the test suite repository.

Laurent Pinchart (2):
  drm: rcar-du: Share plane atomic check code between Gen2 and Gen3
  drm: rcar-du: Clip planes to screen boundaries

 drivers/gpu/drm/rcar-du/rcar_du_crtc.c  |  3 +-
 drivers/gpu/drm/rcar-du/rcar_du_plane.c | 64 ++++++++++++++++++++++++---------
 drivers/gpu/drm/rcar-du/rcar_du_plane.h |  4 +++
 drivers/gpu/drm/rcar-du/rcar_du_vsp.c   | 32 +++++------------
 4 files changed, 61 insertions(+), 42 deletions(-)

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-26 11:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-13  8:46 [PATCH v2 0/2] R-Car DU: Clip planes to screen boundaries Laurent Pinchart
2017-11-13  8:46 ` [PATCH v2 1/2] drm: rcar-du: Share plane atomic check code between Gen2 and Gen3 Laurent Pinchart
2017-11-13  8:47 ` [PATCH v2 2/2] drm: rcar-du: Clip planes to screen boundaries Laurent Pinchart
2017-11-13  8:47   ` Laurent Pinchart
2017-11-16 17:04   ` Ville Syrjälä
2017-11-16 17:04     ` Ville Syrjälä
2017-11-26 11:18     ` Laurent Pinchart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.