[PATCH RESEND v6 05/11] drm/mediatek: gamma: Enable the Gamma LUT table only after programming

Alexandre Mergnat amergnat at baylibre.com
Fri Jul 28 06:00:59 PDT 2023


Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>

On 27/07/2023 11:46, AngeloGioacchino Del Regno wrote:
> Move the write to DISP_GAMMA_CFG to enable the Gamma LUT to after
> programming the actual table to avoid potential visual glitches during
> table modification.
> 
> Note:
> GAMMA should get enabled in between vblanks, but this requires many
> efforts in order to make this happen, as that requires migrating all
> of the writes to make use of CMDQ instead of cpu writes and that's
> not trivial. For this reason, this patch only moves the LUT enable.
> The CMDQ rework will come at a later time.

-- 
Regards,
Alexandre



More information about the Linux-mediatek mailing list