Daniel Vetter cf48e2921e drm: Initialize a linear gamma table by default
Code stolen from gma500.

This is just a minor bit of safety code that I spotted and figured it
might be useful if we put it into the core. This is to make the
get_gamma ioctl reflect likely reality even before the first set_gamma
ioctl call.

v2 on irc: Extend commit message per Maarten's suggestions.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459331485-28376-2-git-send-email-daniel.vetter@ffwll.ch
2016-05-31 16:56:44 +02:00
..
2014-09-24 11:43:41 +10:00
2012-03-10 13:05:48 +00:00
2012-03-10 13:05:48 +00:00
2012-03-10 13:05:48 +00:00
2012-11-07 10:59:32 +10:00
2012-07-16 09:20:33 -07:00
2016-01-04 07:57:38 +01:00
2013-04-07 17:09:34 +02:00
2016-05-21 07:03:31 +10:00