mbox series

[v3,0/2] drm/mediatek: Add ovl_adaptor get format function

Message ID 20230330032614.18837-1-nancy.lin@mediatek.com (mailing list archive)
Headers show
Series drm/mediatek: Add ovl_adaptor get format function | expand

Message

Nancy Lin (林欣螢) March 30, 2023, 3:26 a.m. UTC
Add ovl_adaptor get_format and get_num_formats component function.
The two functions are needed for getting the supported format in
mtk_plane_init().

Changes in v3:
 - modify for reviewer's comment in v2.
   - add mdp-rdma get supported format api for ovl_adaptor driver.

Changes in v2:
 - remove change id

Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>

This series are based on the following patch:
[1] [v8,1/3] drm/mediatek: Refactor pixel format logic
  - 20230309210416.1167020-2-greenjustin@chromium.org

Nancy.Lin (2):
  drm/mediatek: Add mdp_rdma get format function
  drm/mediatek: Add ovl_adaptor get format function

 drivers/gpu/drm/mediatek/mtk_disp_drv.h       |  5 ++++
 .../gpu/drm/mediatek/mtk_disp_ovl_adaptor.c   | 14 +++++++++++
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c   |  2 ++
 drivers/gpu/drm/mediatek/mtk_mdp_rdma.c       | 24 +++++++++++++++++++
 4 files changed, 45 insertions(+)