]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move LUT programming to happen after vblank waits
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Feb 2019 16:08:41 +0000 (18:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Feb 2019 19:45:44 +0000 (21:45 +0200)
commit1c0d458bf0d9ffff99864f124ed86c804b203047
treef0451d2f82d1e18a81d6793dbb2509455fbad805
parent3d1e128c494e0964dfb5d5e678e8fbd957d25bdc
drm/i915: Move LUT programming to happen after vblank waits

The LUTs are single buffered so we should program them after
the double buffered pipe updates have been latched by the
hardware.

We'll also fix up the IPS vs. split gamma w/a to do the IPS
disable like everyone else. Note that this is currently dead
code as we don't use the split gamma mode on HSW, but that
will be fixed up shortly.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190205160848.24662-7-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_color.c
drivers/gpu/drm/i915/intel_display.c