[PATCH] drm: document TV margin properties

Pekka Paalanen ppaalanen at gmail.com
Tue Feb 28 12:24:23 UTC 2023


On Tue, 28 Feb 2023 13:28:48 +0200
Ville Syrjälä <ville.syrjala at linux.intel.com> wrote:

> On Tue, Feb 28, 2023 at 12:12:22PM +0200, Pekka Paalanen wrote:

> > Oh! That would be really good to mention in the doc. Maybe even prefer
> > plane props over this? Or is this for analog TV, and plane props for
> > digital TV?  
> 
> Plane properties would be pointless for this. CRTC properties might
> make sense. But what is more accurate kinda depends on the hardware
> design.

I meant the existing plane properties CRTC_X,Y,W,H. They can already
describe e.g. a primary plane that does not cover the whole CRTC area,
which is essentially the same as margins, scaling included even.

> Some hardware has scalers and all kinds of fancy stuff in the 
> encoder essentially. Quite common in old TV encoder chips.
> That's pretty much where these properties came from I think.
> 
> And eDP/LVDS/etc. also do scaling in the connector in the
> current model since that's where the 'scaling mode' property
> lives.

Ok, that makes sense.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230228/c34d3808/attachment.sig>


More information about the dri-devel mailing list