[Intel-gfx] [PATCH v2 06/33] drm/connector: Rename legacy TV property
Maxime Ripard
maxime at cerno.tech
Mon Sep 26 09:50:31 UTC 2022
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 at cerno.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 at suse.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?
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20220926/8fb6a18b/attachment.sig>
More information about the Intel-gfx
mailing list