Den 17.11.2022 10.28, skrev Maxime Ripard: > Multiple drivers (meson, vc4, sun4i) define analog TV 525-lines and > 625-lines modes in their drivers. > > Since those modes are fairly standard, and that we'll need to use them > in more places in the future, it makes sense to move their definition > into the core framework. > > However, analog display usually have fairly loose timings requirements, > the only discrete parameters being the total number of lines and pixel > clock frequency. Thus, we created a function that will create a display > mode from the standard, the pixel frequency and the active area. > > Tested-by: Mateusz Kwiatkowski <kfyatek+public...@gmail.com> > Signed-off-by: Maxime Ripard <max...@cerno.tech> > > --- I'm no domain expert so apart from the timing details which I can't comment on, it looks fine. I personally advocated for a much simpler solution for these NTSC and PAL modes, but AIUI this is part of a grander plan to support devices with other timings. Acked-by: Noralf Trønnes <nor...@tronnes.org>
- Re: [PATCH v10 01/19] drm/tests: client: Mentio... Noralf Trønnes
- [PATCH v10 02/19] drm/connector: Rename legacy TV pr... Maxime Ripard
- [PATCH v10 03/19] drm/connector: Only register TV mo... Maxime Ripard
- [PATCH v10 04/19] drm/connector: Rename drm_mode_cre... Maxime Ripard
- [PATCH v10 05/19] drm/connector: Add TV standard pro... Maxime Ripard
- Re: [PATCH v10 05/19] drm/connector: Add TV sta... Mauro Carvalho Chehab
- Re: [PATCH v10 05/19] drm/connector: Add TV... Maxime Ripard
- Re: [PATCH v10 05/19] drm/connector: Add TV sta... Noralf Trønnes
- [PATCH v10 07/19] drm/connector: Add a function to l... Maxime Ripard
- [PATCH v10 06/19] drm/modes: Add a function to gener... Maxime Ripard
- Re: [PATCH v10 06/19] drm/modes: Add a function... Noralf Trønnes
- [PATCH v10 08/19] drm/modes: Introduce the tv_mode p... Maxime Ripard
- [PATCH v10 09/19] drm/modes: Properly generate a drm... Maxime Ripard
- [PATCH v10 10/19] drm/client: Remove match on mode n... Maxime Ripard
- [PATCH v10 11/19] drm/modes: Introduce more named mo... Maxime Ripard
- [PATCH v10 12/19] drm/probe-helper: Provide a TV get... Maxime Ripard
- [PATCH v10 13/19] drm/atomic-helper: Add a TV proper... Maxime Ripard
- [PATCH v10 15/19] drm/vc4: vec: Use TV Reset impleme... Maxime Ripard
- [PATCH v10 14/19] drm/atomic-helper: Add an analog T... Maxime Ripard
- [PATCH v10 17/19] drm/vc4: vec: Convert to the new T... Maxime Ripard
- [PATCH v10 16/19] drm/vc4: vec: Check for VEC output... Maxime Ripard