[Intel-xe] [PATCH 9/9] fixup! drm/xe/display: Implement display support

Jani Nikula jani.nikula at intel.com
Fri Aug 11 09:35:59 UTC 2023


i915 now has a display/intel_wm_types.h and this is no longer needed.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 .../xe/compat-i915-headers/intel_pm_types.h   | 34 -------------------
 1 file changed, 34 deletions(-)
 delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/intel_pm_types.h

diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_pm_types.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_pm_types.h
deleted file mode 100644
index 0bd4b1cb9c83..000000000000
--- a/drivers/gpu/drm/xe/compat-i915-headers/intel_pm_types.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/* SPDX-License-Identifier: MIT */
-/*
- * Copyright © 2021 Intel Corporation
- */
-
-#ifndef __INTEL_PM_TYPES_H__
-#define __INTEL_PM_TYPES_H__
-
-#include <linux/types.h>
-
-enum intel_ddb_partitioning {
-	INTEL_DDB_PART_1_2,
-	INTEL_DDB_PART_5_6, /* IVB+ */
-};
-
-struct skl_ddb_entry {
-	u16 start, end;	/* in number of blocks, 'end' is exclusive */
-};
-
-static inline u16 skl_ddb_entry_size(const struct skl_ddb_entry *entry)
-{
-	return entry->end - entry->start;
-}
-
-static inline bool skl_ddb_entry_equal(const struct skl_ddb_entry *e1,
-				       const struct skl_ddb_entry *e2)
-{
-	if (e1->start == e2->start && e1->end == e2->end)
-		return true;
-
-	return false;
-}
-
-#endif /* __INTEL_PM_TYPES_H__ */
-- 
2.39.2



More information about the Intel-xe mailing list