Re: [PATCH RESEND v6 06/11] drm/mediatek: gamma: Use bitfield macros

2023-07-28 Thread Alexandre Mergnat
Reviewed-by: Alexandre Mergnat On 27/07/2023 11:46, AngeloGioacchino Del Regno wrote: Make the code more robust and improve readability by using bitfield macros instead of open coding bit operations. While at it, also add a definition for LUT_BITS_DEFAULT. -- Regards, Alexandre

[PATCH RESEND v6 06/11] drm/mediatek: gamma: Use bitfield macros

2023-07-27 Thread AngeloGioacchino Del Regno
Make the code more robust and improve readability by using bitfield macros instead of open coding bit operations. While at it, also add a definition for LUT_BITS_DEFAULT. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Jason-JH.Lin --- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 41