drm/mediatek: Add AFBC support to Mediatek DRM driver
authorJustin Green <greenjustin@chromium.org>
Wed, 16 Nov 2022 19:33:35 +0000 (14:33 -0500)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 23 Nov 2022 16:18:30 +0000 (16:18 +0000)
commitc410fa9b07c32cc69968ec83a148366d16c76dc4
tree62fefbe09753812f6d360203a97bbb7ae3ccb020
parent2847cd7e64038d8b554a98a07a4c0e6ec05e06b0
drm/mediatek: Add AFBC support to Mediatek DRM driver

Tested on MT8195 and confirmed both correct video output and improved DRAM
bandwidth performance.

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/20221116193335.36320-1-greenjustin@google.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_disp_ovl.c
drivers/gpu/drm/mediatek/mtk_drm_plane.c
drivers/gpu/drm/mediatek/mtk_drm_plane.h