[PATCH v3 02/11] drm/mediatek: gamma: Reduce indentation in mtk_gamma_set_common()

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


An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230509/916cd605/attachment-0001.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.
> 
> 
> Invert the check for state->gamma_lut and move it at the beginning
> of the function to reduce indentation: this prepares the code for
> keeping readability on later additions.
> 
> This commit brings no functional changes.
> 
> 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