]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Skip vblank waits for cursor updates when watermarks dont need updating
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 19 Sep 2017 12:14:19 +0000 (14:14 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 4 Oct 2017 07:16:22 +0000 (09:16 +0200)
commit6f9a503afa1cd44d6a1ebda62350e8430ca82062
treef650692368f16121cf1ee5863980eb652ef95132
parent68be87217ede0415526d2f8bd51e023439e6dda3
drm/i915: Skip vblank waits for cursor updates when watermarks dont need updating

In legacy cursor updates we need the extra vblank waits if we update
watermarks, and then we cannot skip the vblank for cursors.

This is why for < gen9 we disabled the cursor fastpath, but we can skip
the wait when post vblank watermarks are untouched.

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