drm/i915/fbc: Clear frontbuffer busy bits on flip
authorJouni Högander <jouni.hogander@intel.com>
Fri, 1 Sep 2023 09:34:57 +0000 (12:34 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 4 Sep 2023 09:03:07 +0000 (12:03 +0300)
commit4f89df198dc17070831af21b74e69ee17352619f
tree004c42bc92bea98293654243551db5134b0b7f80
parentf208f4a49a46cc04f51b0c335d4b6390fbfcd1b8
drm/i915/fbc: Clear frontbuffer busy bits on flip

We are planning to move flush performed from work queue. This
means it is possible to have invalidate -> flip -> flush sequence.
Handle this by clearing possible busy bits on flip.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230901093500.3463046-2-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_fbc.c