[PATCH] drm/i915/display: Enable async flip on linear buffers
Vandita Kulkarni
vandita.kulkarni at intel.com
Tue Dec 14 13:57:41 UTC 2021
There is no restriction on linear buffers async flips
for above gen10 platforms.
Signed-off-by: Vandita Kulkarni <vandita.kulkarni at intel.com>
---
drivers/gpu/drm/i915/display/intel_display.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 6fbad5c6cc71..06c93e1010fd 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -7727,6 +7727,10 @@ static int intel_atomic_check_async(struct intel_atomic_state *state, struct int
case I915_FORMAT_MOD_Y_TILED:
case I915_FORMAT_MOD_Yf_TILED:
break;
+ case DRM_FORMAT_MOD_LINEAR:
+ if (DISPLAY_VER(i915) > 10)
+ break;
+ fallthrough;
default:
drm_dbg_kms(&i915->drm,
"Linear memory/CCS does not support async flips\n");
--
2.32.0
More information about the Intel-gfx-trybot
mailing list