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

From
Maxime Ripard <hidden>
Date
2022-07-14 12:05:50
Also in
dri-devel, linux-m68k, lkml
Reply to
Geert Uytterhoeven, 2022-07-14
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@linux-m68k.org>
Reviewed-by: Hans de Goede <redacted>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Maxime Ripard <redacted>

Maxime

Attachments

Thread (11 messages) 11 messages, 2 authors, last reply 2022-07-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help