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>
- [Nouveau] [PATCH v10 01/19] drm/tests: client: Mention tha... Maxime Ripard
- Re: [Nouveau] [PATCH v10 01/19] drm/tests: client: Me... Noralf Trønnes
- [Nouveau] [PATCH v10 03/19] drm/connector: Only register T... Maxime Ripard
- [Nouveau] [PATCH v10 02/19] drm/connector: Rename legacy T... Maxime Ripard
- [Nouveau] [PATCH v10 04/19] drm/connector: Rename drm_mode... Maxime Ripard
- [Nouveau] [PATCH v10 05/19] drm/connector: Add TV standard... Maxime Ripard
- Re: [Nouveau] [PATCH v10 05/19] drm/connector: Add TV... Maxime Ripard
- Re: [Nouveau] [PATCH v10 05/19] drm/connector: Add TV... Noralf Trønnes
- [Nouveau] [PATCH v10 07/19] drm/connector: Add a function ... Maxime Ripard
- [Nouveau] [PATCH v10 06/19] drm/modes: Add a function to g... Maxime Ripard
- Re: [Nouveau] [PATCH v10 06/19] drm/modes: Add a func... Noralf Trønnes
- [Nouveau] [PATCH v10 09/19] drm/modes: Properly generate a... Maxime Ripard
- [Nouveau] [PATCH v10 08/19] drm/modes: Introduce the tv_mo... Maxime Ripard
- [Nouveau] [PATCH v10 10/19] drm/client: Remove match on mo... Maxime Ripard
- [Nouveau] [PATCH v10 11/19] drm/modes: Introduce more name... Maxime Ripard
- [Nouveau] [PATCH v10 12/19] drm/probe-helper: Provide a TV... Maxime Ripard
- [Nouveau] [PATCH v10 13/19] drm/atomic-helper: Add a TV pr... Maxime Ripard
- [Nouveau] [PATCH v10 14/19] drm/atomic-helper: Add an anal... Maxime Ripard
- [Nouveau] [PATCH v10 15/19] drm/vc4: vec: Use TV Reset imp... Maxime Ripard
- [Nouveau] [PATCH v10 17/19] drm/vc4: vec: Convert to the n... Maxime Ripard
- [Nouveau] [PATCH v10 16/19] drm/vc4: vec: Check for VEC ou... Maxime Ripard