Den 10.11.2022 12.07, skrev Maxime Ripard: > The framework will get the drm_display_mode from the drm_cmdline_mode it > got by parsing the video command line argument by calling > drm_connector_pick_cmdline_mode(). > > The heavy lifting will then be done by the drm_mode_create_from_cmdline_mode() > function. > > In the case of the named modes though, there's no real code to make that > translation and we rely on the drivers to guess which actual display mode > we meant. > > Let's modify drm_mode_create_from_cmdline_mode() to properly generate the > drm_display_mode we mean when passing a named mode. > > Tested-by: Mateusz Kwiatkowski <kfyatek+public...@gmail.com> > Signed-off-by: Maxime Ripard <max...@cerno.tech> > > --- Reviewed-by: Noralf Trønnes <nor...@tronnes.org>
- [Intel-gfx] [PATCH v8 11/24] drm/connector: Add pixel cloc... Maxime Ripard
- [Intel-gfx] [PATCH v8 08/24] drm/modes: Move named modes p... Maxime Ripard
- [Intel-gfx] [PATCH v8 07/24] drm/client: Add some tests fo... Maxime Ripard
- [Intel-gfx] [PATCH v8 15/24] drm/client: Remove match on m... Maxime Ripard
- Re: [Intel-gfx] [PATCH v8 15/24] drm/client: Remove m... Noralf Trønnes
- [Intel-gfx] [PATCH v8 12/24] drm/connector: Add a function... Maxime Ripard
- [Intel-gfx] [PATCH v8 10/24] drm/modes: Fill drm_cmdline m... Maxime Ripard
- [Intel-gfx] [PATCH v8 14/24] drm/modes: Properly generate ... Maxime Ripard
- Re: [Intel-gfx] [PATCH v8 14/24] drm/modes: Properly ... Noralf Trønnes
- [Intel-gfx] [PATCH v8 17/24] drm/probe-helper: Provide a T... Maxime Ripard
- [Intel-gfx] [PATCH v8 16/24] drm/modes: Introduce more nam... Maxime Ripard
- Re: [Intel-gfx] [PATCH v8 16/24] drm/modes: Introduce... Maíra Canal
- Re: [Intel-gfx] [PATCH v8 16/24] drm/modes: Introduce... Noralf Trønnes
- [Intel-gfx] [PATCH v8 22/24] drm/vc4: vec: Convert to the ... Maxime Ripard
- [Intel-gfx] [PATCH v8 13/24] drm/modes: Introduce the tv_m... Maxime Ripard
- [Intel-gfx] [PATCH v8 18/24] drm/atomic-helper: Add a TV p... Maxime Ripard
- [Intel-gfx] [PATCH v8 24/24] drm/sun4i: tv: Convert to the... Maxime Ripard
- [Intel-gfx] [PATCH v8 19/24] drm/atomic-helper: Add an ana... Maxime Ripard