All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/vc4: Improve alpha format plane support
@ 2018-03-06  1:48 Stefan Schake
  2018-03-06  1:48 ` [PATCH 1/3] drm/vc4: Set premultiplied for alpha formats Stefan Schake
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Stefan Schake @ 2018-03-06  1:48 UTC (permalink / raw)
  To: eric; +Cc: airlied, linux-rpi-kernel, dri-devel, Stefan Schake

This series improves the handling of alpha formats with the VC4 HVS
compositor. Alpha formats are marked as premultiplied as is standard
for DRM. Further fix a display corruption issue when planes with
per-pixel alpha try blending from the (nonexistent) background by
selectively enabling a black background color fill.

This series follows the changes suggested by Eric Anholt in a previous
patch discussion:

https://patchwork.freedesktop.org/patch/207667/

A simple test program for the display corruption issue is available:

https://github.com/stschake/vc4-alpha-test

Stefan Schake (3):
  drm/vc4: Set premultiplied for alpha formats
  drm/vc4: Check if plane requires background fill
  drm/vc4: Enable background color fill when necessary

 drivers/gpu/drm/vc4/vc4_crtc.c  | 22 ++++++++++++++++++++++
 drivers/gpu/drm/vc4/vc4_drv.h   |  6 ++++++
 drivers/gpu/drm/vc4/vc4_plane.c | 16 +++++++++++++++-
 drivers/gpu/drm/vc4/vc4_regs.h  |  1 +
 4 files changed, 44 insertions(+), 1 deletion(-)

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2018-03-07 15:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06  1:48 [PATCH 0/3] drm/vc4: Improve alpha format plane support Stefan Schake
2018-03-06  1:48 ` [PATCH 1/3] drm/vc4: Set premultiplied for alpha formats Stefan Schake
2018-03-06 19:35   ` Eric Anholt
2018-03-06 19:43     ` Stefan Schake
2018-03-06  1:48 ` [PATCH 2/3] drm/vc4: Check if plane requires background fill Stefan Schake
2018-03-06 19:43   ` Ville Syrjälä
2018-03-07  0:10     ` Eric Anholt
2018-03-07 15:05       ` Ville Syrjälä
2018-03-07 15:50         ` Eric Anholt
2018-03-06  1:48 ` [PATCH 3/3] drm/vc4: Enable background color fill when necessary Stefan Schake

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.