OSDN Git Service

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)
commit051a6d8d3ca09da2cfcbf15ca3dbe6afe330d51f
treef0451d2f82d1e18a81d6793dbb2509455fbad805
parent4d8ed54c044703f96b1df9ef7ac689b18899a470
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