OSDN Git Service

drm/mediatek: Add ETHDR support for MT8195
authorNancy.Lin <nancy.lin@mediatek.com>
Tue, 21 Mar 2023 12:18:54 +0000 (20:18 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 22 Mar 2023 16:25:00 +0000 (16:25 +0000)
commitd886c0009bd087ebf76e345ad0ce155240be5898
tree9cb206c0d673d3de20838b686a181385012c2c1d
parent64e352c9bd38cdbb962006164623e09ed2851160
drm/mediatek: Add ETHDR support for MT8195

ETHDR is a part of ovl_adaptor.
ETHDR is designed for HDR video and graphics conversion in the external
display path. It handles multiple HDR input types and performs tone
mapping, color space/color format conversion, and then combine
different layers, output the required HDR or SDR signal to the
subsequent display path.

Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20230321121859.2355-3-nancy.lin@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/Makefile
drivers/gpu/drm/mediatek/mtk_drm_drv.c
drivers/gpu/drm/mediatek/mtk_drm_drv.h
drivers/gpu/drm/mediatek/mtk_ethdr.c [new file with mode: 0644]
drivers/gpu/drm/mediatek/mtk_ethdr.h [new file with mode: 0644]