drm/mediatek: Refactor plane init/check and support rotation
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest7 patches 3 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/mediatek: Refactor plane initdrivers/ | +59 | 0 replies | |
| 2/7 | drm/mediatek: Add helper to get component for a planedrivers/ | +34 | 0 replies | |
| 3/7 | drm/mediatek: Add plumbing for layer_check hookdrivers/ drivers/ drivers/ +1 more | +30 | 0 replies | |
| 4/7 | drm/mediatek: Plumb supported rotation values from components to plane initdrivers/ drivers/ drivers/ +1 more | +27 | 0 replies | |
| 5/7 | drm/mediatek: Support reflect-y plane rotationdrivers/ | +42 | 0 replies | |
| 6/7 | drm/mediatek: Support reflect-x plane rotationdrivers/ | +9 | 0 replies | |
| 7/7 | drm/mediatek: Support 180 degree rotationdrivers/ | +2 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/7] drm/mediatek: Refactor plane init/check and support rotation
From: Sean Paul <[email protected]>
Hello,
This is a follow-on to [1], which supports the original Y-flip. I've added X-flip and 180 degree rotate. Additionally, the rotation property is only exposed for ovl planes, not rdma planes since rdma doesn't support it. In order to differentiate between the two types, I had to do some plumbing in order to surface the supported rotations of a component as well as allowing a component to implement plane checks.
I've tested this on a 4.19 kernel on mt8183. The set was then forward ported to mainline and build tested. The forward port was relatively collision free, but there were a few.
Sean
[1]- https://lists.freedesktop.org/archives/dri-devel/2019-November/242312.html
Sean Paul (7):
drm/mediatek: Refactor plane init
drm/mediatek: Add helper to get component for a plane drm/mediatek: Add plumbing for layer_check hook drm/mediatek: Plumb supported rotation values from components to plane
init
drm/mediatek: Support reflect-y plane rotation drm/mediatek: Support reflect-x plane rotation drm/mediatek: Support 180 degree rotation
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 50 +++++++ drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 145 ++++++++++++++------ drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 2 + drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 22 +++ drivers/gpu/drm/mediatek/mtk_drm_plane.c | 18 ++- drivers/gpu/drm/mediatek/mtk_drm_plane.h | 4 +- 6 files changed, 199 insertions(+), 42 deletions(-)
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel