Color mode exposed to user space?

Werner Sembach wse at tuxedocomputers.com
Mon Mar 29 09:09:51 UTC 2021


> On Thu, 25 Mar 2021 12:12:09 -0400
> Alex Deucher <alexdeucher at gmail.com> wrote:
>
>> + dri-devel
>>
>> I don't think it's currently exposed anywhere.
>>
>> Alex
>>
>> On Wed, Mar 24, 2021 at 5:11 AM Werner Sembach <wse at tuxedocomputers.com> wrote:
>>> Hello,
>>>
>>> is the information which color mode is currently in used for a display (RGB, YCbCr444, or YCbCr420) exposed to user space somewhere?
>>>
>>> If no: Where would be the best place to put code to expose it to sysfs?
> Hi,
>
> a very good question. Wayland compositors implementing color management
> will be interested to know this, and even better, to explicitly control
> this.
>
> See e.g. Color Calibration Auditing System notes in
> https://gitlab.freedesktop.org/wayland/weston/-/issues/467 .
>
>
> Thanks,
> pq

@Alex Deucher thanks for the info.

@pq Related bugtracker tickets for reference:
https://gitlab.freedesktop.org/drm/amd/-/issues/476
https://gitlab.freedesktop.org/drm/amd/-/issues/1541
https://gitlab.freedesktop.org/drm/amd/-/issues/1548
I'm coding something up for the last one atm.



More information about the dri-devel mailing list