[PATCH v8 0/3] drm/mediatek: Add support for 10-bit overlays
Chun-Kuang Hu
chunkuang.hu at kernel.org
Sun Mar 12 08:17:20 PDT 2023
Hi, Justin:
Justin Green <greenjustin at chromium.org> 於 2023年3月10日 週五 上午5:05寫道:
>
> This patch series adds support for 10-bit overlays to the Mediatek DRM driver.
> Specifically, we add support for AR30 and BA30 overlays on MT8195 devices and
> lay the groundwork for supporting more 10-bit formats on more devices.
I've applied this series to mediatek-drm-next [1] with fix up for
checkpatch warning. Remember to fix checkpatch warning and error
before sending patches.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Regards,
Chun-Kuang.
>
> 1. Refactor plane initialization logic to allow individual DDP components to
> provide their supported pixel formats.
>
> 2. Add AR30 and BA30 support to overlay driver.
>
> 3. Enable AR30 and BA30 overlays on MT8195.
>
>
> Version history:
> v2:
> * Rebase and resolve merge conflicts with the AFBC patch.
> v3:
> * Moved 10-bit support detection to mtk_disk_ovl.c
> v4:
> * Moved formats to mtk_disp_ovl.c and mtk_disp_rdma.c
> v5:
> * Minor style adjustments per checkpatch.pl
> v6:
> * Refactor patch into patch series.
> * Add formats directly to private data.
> v7:
> * Gate setting OVL_CLRFMT_EXT register on compatibility.
> * Split patches for adding 10-bit support and enabling 10-bit support on
> MT8195.
> v8:
> * Updated descriptions for patches 2 and 3 in the series.
>
>
> Justin Green (3):
> drm/mediatek: Refactor pixel format logic
> drm/mediatek: Add support for AR30 and BA30 overlays
> drm/mediatek: Enable AR30 and BA30 overlays on MT8195
>
> drivers/gpu/drm/mediatek/mtk_disp_drv.h | 4 +
> drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 94 +++++++++++++++++++++
> drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 38 +++++++++
> drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 +-
> drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 4 +
> drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 20 +++++
> drivers/gpu/drm/mediatek/mtk_drm_plane.c | 24 ++----
> drivers/gpu/drm/mediatek/mtk_drm_plane.h | 3 +-
> 8 files changed, 173 insertions(+), 18 deletions(-)
>
> --
> 2.39.1.456.gfc5497dd1b-goog
>
More information about the Linux-mediatek
mailing list