Re: [PATCH v2 3/5] drm/modes: parse_cmdline: Make mode->*specified handling more uniform

From: Maxime Ripard
Date: Thu Jul 14 2022 - 08:05:50 EST


On Thu, Jul 14, 2022 at 11:04:08AM +0200, Geert Uytterhoeven wrote:
> The various mode->*specified flags are not handled in an uniform way:
> some flags are set by the corresponding drm_mode_parse_cmdline_*()
> function, some flags by the caller of the function, and some flags by
> both.
>
> Make this uniform by making this the responsibility of the various
> parsing helpers, i.e.
> - Move the setting of mode->specified from caller to callee,
> - Drop the duplicate setting of mode->bpp_specified and
> mode->refresh_specified from callers.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx>
> Acked-by: Thomas Zimmermann <tzimmermann@xxxxxxx>

Acked-by: Maxime Ripard <maxime@xxxxxxxxxx>

Maxime

Attachment: signature.asc
Description: PGP signature