[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d50ed519-ba89-70e2-0f0c-b58593a3c060@suse.de>
Date: Mon, 26 Sep 2022 14:34:36 +0200
From: Thomas Zimmermann <tzimmermann@...e.de>
To: Maxime Ripard <maxime@...no.tech>
Cc: Karol Herbst <kherbst@...hat.com>, David Airlie <airlied@...ux.ie>,
nouveau@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
Phil Elwell <phil@...pberrypi.com>,
Emma Anholt <emma@...olt.net>,
Samuel Holland <samuel@...lland.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Chen-Yu Tsai <wens@...e.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Ben Skeggs <bskeggs@...hat.com>, linux-sunxi@...ts.linux.dev,
intel-gfx@...ts.freedesktop.org,
Hans de Goede <hdegoede@...hat.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
linux-arm-kernel@...ts.infradead.org,
Tvrtko Ursulin <tvrtko.ursulin@...ux.intel.com>,
Dom Cobley <dom@...pberrypi.com>,
Dave Stevenson <dave.stevenson@...pberrypi.com>,
linux-kernel@...r.kernel.org,
Mateusz Kwiatkowski <kfyatek+publicgit@...il.com>,
Noralf Trønnes <noralf@...nnes.org>
Subject: Re: [PATCH v2 06/33] drm/connector: Rename legacy TV property
Hi
Am 26.09.22 um 11:50 schrieb Maxime Ripard:
> Hi Thomas,
>
> On Fri, Sep 23, 2022 at 10:19:08AM +0200, Thomas Zimmermann wrote:
>> Hi
>>
>> Am 22.09.22 um 16:25 schrieb Maxime Ripard:
>>> The current tv_mode has driver-specific values that don't allow to
>>> easily share code using it, either at the userspace or kernel level.
>>>
>>> Since we're going to introduce a new, generic, property that fit the
>>> same purpose, let's rename this one to legacy_tv_mode to make it
>>> obvious we should move away from it.
>>>
>>> Signed-off-by: Maxime Ripard <maxime@...no.tech>
>>
>> It's not wrong, but 'legacy' is already overloaded with meaning. If you can,
>> maybe name it 'driver_tv_mode_property' or 'custom_tv_mode_property'
>> instead.
>>
>> Acked-by: Thomas Zimmermann <tzimmermann@...e.de>
>
> I'd really like to point out that new drivers shouldn't be using this.
> If we're using either of your proposals then writers might get the
> impression that this is ok to us.
>
> Would you prefer deprecated to legacy?
I'm merely suggesting. Call it legacy then, so you don't have to rework
all of the patches.
Best regards
Thomas
>
> Maxime
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev
Download attachment "OpenPGP_signature" of type "application/pgp-signature" (841 bytes)
Powered by blists - more mailing lists