Re: Question about sRGB framebuffer support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 05, 2020 at 01:24:16PM +0300, Artem Mygaiev wrote:
> Hello all
> 
> I am currently working on DRM/KMS driver for Fresco Logic FL2000 USB display
> controller [1]. I have already implemented a POC driver [2] which is working for
> me, although there are still plenty of things to improve or fix, of course.
> 
> So far I have one thing that I somehow cannot find in DRM/KMS documentation or
> existing drivers: how to tell the system that HW expects sRGB (i.e. non-linear)
> color encoding in framebuffers? This is a HW limitation that I cannot influence
> by configuration.

Does it do something to process the data that requires linearization
or why does it care about the gamma applied to the data? In a typical
use case the data is just passed through unless the user asks otherwise,
so it doesn't matter much what gamma was used. Though most displays
probably expect something resembling sRGB gamma by default, so that's
presumably what most things generate, and images/videos/etc. pretty
much always have gamma already applied when they are produced.

> 
> Any pointers are greatly appreciated.
> 
> [1] www.frescologic.com/product/single/fl2000
> [2] https://github.com/klogg/fl2000_drm
> 
> Best regards,
>  -- Artem
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Ville Syrjälä
Intel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux