[PATCH v2] drm/amd/display: Add pixel encoding info to debugfs

Simon Ser contact at emersion.fr
Wed May 22 13:40:36 UTC 2024


On Wednesday, May 22nd, 2024 at 15:36, Mario Limonciello <mario.limonciello at amd.com> wrote:

> > To be perfectly honest with you, I haven't given that much though. I
> > used the 'bpc' and 'colorspace' property in debugfs, since I could not
> > find that information anywhere else. And since I also needed to verify
> > the pixel encoding being used, I added it where those other values
> > were. That made for a simple and easy addition for this property.
> > 
> > If you want me to do this differently, let me know. And please point
> > me to the standardized DRM property where I should expose the values.

FWIW, there is a patch from Andri to add a similar (?) property:
https://lore.kernel.org/dri-devel/20240115160554.720247-1-andri@yngvason.is/

The patch also allows user-space to set the "pixel encoding".


More information about the amd-gfx mailing list