Re: [PATCH v11 06/16] drm/mediatek: gamma: Use bitfield macros

2023-10-16 Thread AngeloGioacchino Del Regno
Il 13/10/23 06:00, CK Hu (胡俊光) ha scritto: Hi, Angelo: On Thu, 2023-10-12 at 11:57 +0200, 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.

Re: [PATCH v11 06/16] drm/mediatek: gamma: Use bitfield macros

2023-10-12 Thread 胡俊光

[PATCH v11 06/16] drm/mediatek: gamma: Use bitfield macros

2023-10-12 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. Reviewed-by: Jason-JH.Lin Reviewed-by: Alexandre Mergnat Signed-off-by: AngeloGioacchino Del Regno ---