drm/vc4: Improve alpha format plane support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyIn review
- v13 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/vc4: Set premultiplied for alpha formatsdrivers/ drivers/ | +3 | 0 replies | |
| 2/4 | drm/vc4: Check if plane requires background filldrivers/ | +17 | 0 replies | |
| 3/4 | drm/vc4: Move plane state to headerdrivers/ drivers/ | +60 | 0 replies | |
| 4/4 | drm/vc4: Enable background color fill when necessarydrivers/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] drm/vc4: Improve alpha format plane support
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
v2 of the series fixes the has_alpha confusion and moves needs_bg_fill into the plane state. This unfortunately necessitated moving the plane state to a header where it can be referenced from vc4_crtc.
Stefan Schake (4):
drm/vc4: Set premultiplied for alpha formats drm/vc4: Check if plane requires background fill drm/vc4: Move plane state to header drm/vc4: Enable background color fill when necessary
drivers/gpu/drm/vc4/vc4_crtc.c | 25 +++++++++++++++ drivers/gpu/drm/vc4/vc4_drv.h | 60 ++++++++++++++++++++++++++++++++++++ drivers/gpu/drm/vc4/vc4_plane.c | 68 ++++++++--------------------------------- drivers/gpu/drm/vc4/vc4_regs.h | 1 + 4 files changed, 99 insertions(+), 55 deletions(-)
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel