drm/i915: Reject async flips if we need to change DDB/watermarks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 30 Apr 2024 09:56:36 +0000 (12:56 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 May 2024 10:13:46 +0000 (13:13 +0300)
commit4df0f2ed25735e7da5a9015befda5199fe6fec73
tree3aa6a9679e200969ac17937a81abeefa4035efb2
parentc8bafa0d9898f37cb3618f5883656cc382831533
drm/i915: Reject async flips if we need to change DDB/watermarks

DDB/watermarks are always double buffered on the vblank, so we
can't safely change them during async flips. Currently this never
happens, but we'll be making changing between sync and async
flips a bit more flexible, in which case we can actually end up
here.

Reviewed-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240430095639.26390-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/skl_watermark.c