[PATCH v2 10/13] drm/modes: parse_cmdline: Remove some unnecessary code (v2)

Maxime Ripard mripard at kernel.org
Mon Nov 18 12:25:12 UTC 2019


On Wed, Nov 13, 2019 at 05:44:31PM +0100, Hans de Goede wrote:
> fb_get_options() will return fb_mode_option if no video=<connector-name>
> argument is present on the kernel commandline, so there is no need to also
> do this in drm_mode_parse_command_line_for_connector() as our only caller
> uses fb_get_options() to get the mode_option argument.
>
> Changes in v2:
> -Split out the changes dealing with the initialization of the mode struct
>  into a separate patch
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Acked-by: Maxime Ripard <mripard at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20191118/bc35adf1/attachment.sig>


More information about the dri-devel mailing list