Thread (151 messages) 151 messages, 9 authors, 2022-08-30

Re: [PATCH v1 24/35] drm/vc4: vec: Add support for more analog TV standards

From: Maxime Ripard <hidden>
Date: 2022-08-15 08:37:11
Also in: dri-devel, linux-amlogic, linux-sunxi, lkml

Hi,

On Fri, Jul 29, 2022 at 07:55:30PM +0200, Mateusz Kwiatkowski wrote:
Hi Maxime,

I think that declaring PAL-B and SECAM-B as the only supported 576i
norms is a bit random.
Starting with this patch, PAL-N should be supported as well, right?
Norms B, D, G, H, I, K, K1 and L (for both PAL and SECAM) are
essentially identical if we're talking about baseband signals, AFAIK
they only differ when those are modulated as RF signals. I'm not sure
if there's a point to differentiating those (that's more about patch
05/35) unless we need to deal with some device that actually features
an RF modulator.
What I was aiming for is to have all the cases we have in all the
drivers covered so that we can make that property generic. i915
declares and uses all those variants:

https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/i915/display/intel_sdvo.c#L68

Especially since it's i915 and it's pretty much the standard as far as
the uAPI goes, I'd rather avoid any regression there.
But if we do want to have all those norms separate, then I'd say that
VC4 should declare support for all of those, and all should map to the
same VEC settings. Some users from e.g. the UK might think that they
won't get proper picture if PAL-I is not on the list of supported
norms. Same goes for e.g. SECAM-D/K in the former Soviet territories,
and so on.
I'd be open to it, but we can always extend vc4 to support those modes
later on. The work you did to make that easier should make it trivial.

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help