[RFC PATCH 18/22] drm/i915/display: Remove fb_op_origin enum

Jouni Högander jouni.hogander at intel.com
Fri Mar 24 09:00:03 UTC 2023


We are now doing frontbuffer flush only from dirtyfb. Remove
fb_op_origin enum as unnecessary.

Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 drivers/gpu/drm/i915/display/intel_frontbuffer.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.h b/drivers/gpu/drm/i915/display/intel_frontbuffer.h
index e0f004ab8804..bdac8fd55bcb 100644
--- a/drivers/gpu/drm/i915/display/intel_frontbuffer.h
+++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.h
@@ -32,14 +32,6 @@
 
 struct drm_i915_private;
 
-enum fb_op_origin {
-	ORIGIN_CPU = 0,
-	ORIGIN_CS,
-	ORIGIN_FLIP,
-	ORIGIN_DIRTYFB,
-	ORIGIN_CURSOR_UPDATE,
-};
-
 /*
  * Frontbuffer tracking bits. Set in obj->frontbuffer_bits while a gem bo is
  * considered to be the frontbuffer for the given plane interface-wise. This
-- 
2.34.1



More information about the Intel-gfx-trybot mailing list