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

Jason-JH Lin (林睿祥) Jason-JH.Lin at mediatek.com
Tue May 9 14:40:52 UTC 2023


An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230509/f85df990/attachment.htm>
-------------- next part --------------
Hi Angelo,

On Sat, 2023-05-06 at 14:35 +0200, AngeloGioacchino Del Regno wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> 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 <
> angelogioacchino.delregno at collabora.com>

Reviewed-by: Jason-JH.Lin <jason-jh.lin at mediatek.com>

Regards,
Jason-JH.Lin


More information about the dri-devel mailing list