All of lore.kernel.org
 help / color / mirror / Atom feed
* rfc: breaking old userspace gamma for 10-bit support
@ 2010-07-23 18:00 Andrew Lutomirski
  2010-07-23 20:13 ` Eric Anholt
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Lutomirski @ 2010-07-23 18:00 UTC (permalink / raw)
  To: intel-gfx

AFAICT intel hardware wants a 129-entry LUT when using high precision
gamma ramps.  Rather than hacking some kind of decimation into the
kernel driver (and thus silently breaking DirectColor), I'd like to
teach userspace how to deal with variable gamma sizes.

gnome-color-manager already more-or-less supports arbitrary gamma ramp
sizes (supposedly), dispwin ought to do it, and there might not be any
other software that really cares.  gnome-screensaver saves and
restores the gamma ramp, and I haven't checked if it works right for
funny sizes.

The worst problem we'll have is that current xf86-drv-intel can't
handle non-256 gamma sizes at all.  So if we change the kernel we'll
break it completely.

One option is to have the kernel report gamma_size = 129 but still
accept 256 and decimate itself.  That might cause current userspace to
keep working (except for DirectColor).

Any thoughts?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-04-20 19:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-23 18:00 rfc: breaking old userspace gamma for 10-bit support Andrew Lutomirski
2010-07-23 20:13 ` Eric Anholt
2010-07-23 20:29   ` Andrew Lutomirski
2010-07-26 17:26     ` Eric Anholt
2010-07-27 15:03     ` Adam Jackson
2011-04-20 19:05       ` Jesse Barnes
2011-04-20 19:14         ` Andrew Lutomirski
2011-04-20 19:38           ` Jesse Barnes
2011-04-20 19:45             ` Andrew Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.