diff options
author | Jyri Sarha <jsarha@ti.com> | 2016-06-07 14:09:17 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-07 16:10:49 +0200 |
commit | 492a426a2fc531774356e05f1ad87ab49e80156c (patch) | |
tree | ce3a1452c730b736a62370ad17dcf43b0408f611 /arch | |
parent | drm/omapdrm: Workaround for errata i734 (LCD1 Gamma) in DSS dispc (diff) | |
download | linux-492a426a2fc531774356e05f1ad87ab49e80156c.tar.xz linux-492a426a2fc531774356e05f1ad87ab49e80156c.zip |
drm/omapdrm: Implement gamma_lut atomic crtc properties
Implement gamma_lut atomic crtc properties, set crtc gamma size to 256
for all crtcs and use drm_atomic_helper_legacy_gamma_set() as
gamma_set func. The tv-out crtc has 1024 element gamma table (with
10bit precision) in HW, but current Xorg server does not accept
anything else but 256 elements so that is used for all CRTCs. The dss
dispc API converts table of any length for HW and uses linear
interpolation in the process. The default gamma table is restored
if gamma_lut property is deleted.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions