]> 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)
commite48d6fa98f6461424e7a48e5de9152bb55b0f140
treef0451d2f82d1e18a81d6793dbb2509455fbad805
parenta5bc3fbd1107c6263cc53d406eb95480a8508209
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