drm/mediatek: Enable AR30 and BA30 overlays on MT8195
authorJustin Green <greenjustin@chromium.org>
Thu, 9 Mar 2023 21:04:16 +0000 (16:04 -0500)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Sun, 12 Mar 2023 15:09:21 +0000 (15:09 +0000)
commited715684b807e6226d4f5091ebf54f962ac82e77
tree5a1d13b2e96f9d3420f02ab10cc1d98dc6d804b1
parentfb36c5020c9c9184a9a3889628a572feb69fd794
drm/mediatek: Enable AR30 and BA30 overlays on MT8195

Modify the overlay driver data for MT8195 to enable bit depth control and
enable support for AR30 and BA30 framebuffer formats. This patch in
combination with the previous two patches in the series will allow MT8195
devices to scanout AR30 and BA30 framebuffers.

Tested using "modetest -P" on an MT8195 device. The test pattern displays
correctly for both AR30 and BA30 formats.

Signed-off-by: Justin Green <greenjustin@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20230309210416.1167020-4-greenjustin@chromium.org/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_disp_ovl.c