drm/i915: Don't cancel/schedule drrs work if the pipe wasn't affected
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 15 Mar 2022 13:27:48 +0000 (15:27 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 16 Mar 2022 12:45:48 +0000 (14:45 +0200)
commitfb4ae6e6500a7ca70b41a765eb4189740b7725f0
tree96d071607ef2e500e8392559dc106b2bf165f138
parent70e10a2b7e989d1e1069f701c4159c20f52a1dac
drm/i915: Don't cancel/schedule drrs work if the pipe wasn't affected

Skip all the DRRS work cancel/schedule stuff if the pipe's
frontbuffer bits were not among those affected by the frontbuffer
rendering.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220315132752.11849-6-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_drrs.c