Re: [PATCH 6/7] drm/mediatek: mtk_hdmi: Improve the secure output bit toggle

From: CK Hu (胡俊光)

Date: Sun Nov 08 2026 - 22:48:17 EST


On Sat, 2026-10-10 at 13:54 +0200, Luca Leonardo Scorcia wrote:
> External email : Please do not click links or open attachments until you have verified the sender or the content.
>
>
> The secure output control bit toggle for mt2701/mt8167 currently sets
> bit 0 (DEEP_COLOR_EN), 1-2 (DEEP_COLOR_MODE), 15 (HDMI_PSECUR_EN) and 31
> (HDMI_PCLK_FREE_RUN_EN) in the same operation, but only bit 15 is actually
> controlling the HDMI_PSECUR_EN bit, the rest of them are already being set
> in separate operations later. Add a define for bit 15 and clean up the bit
> update operation.

Reviewed-by: CK Hu <ck.hu@xxxxxxxxxxxx>

>
> Fixes: 0fc721b2968e ("drm/mediatek: add hdmi driver for MT2701 and MT7623")
> Signed-off-by: Luca Leonardo Scorcia <l.scorcia@xxxxxxxxx>
> ---