]> git.baikalelectronics.ru Git - kernel.git/commit
drm/modes: Rewrite the command line parser
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:49 +0000 (12:17 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:49 +0000 (12:17 +0200)
commit184e8e2bdc1212441bc7374149e28e2b0d772505
treeefd2a7a9d333758044b258803bd8157bf1f3c28b
parentc4da27ce0ab53ca257b98c93577d8820e7e27142
drm/modes: Rewrite the command line parser

Rewrite the command line parser in order to get away from the state machine
parsing the video mode lines.

Hopefully, this will allow to extend it more easily to support named modes
and / or properties set directly on the command line.

Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e32cd4009153b184103554009135c7bf7c9975d7.1560783090.git-series.maxime.ripard@bootlin.com
drivers/gpu/drm/drm_modes.c