]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: move i915_fixed.h to display/intel_fixed.h
authorJani Nikula <jani.nikula@intel.com>
Fri, 5 Apr 2024 19:37:40 +0000 (22:37 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 8 Apr 2024 08:03:16 +0000 (11:03 +0300)
All the users are in display, move the fixed point header under
display. We could also consider making these more general purpose
things, but that takes a bunch more effort. This allows the immediate
cleanup of xe compat i915_fixed.h.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/320c451e116c7807e544a50c67ba79b087a4f218.1712345787.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_fixed.h [moved from drivers/gpu/drm/i915/i915_fixed.h with 100% similarity]
drivers/gpu/drm/i915/display/skl_watermark.c
drivers/gpu/drm/xe/compat-i915-headers/i915_fixed.h [deleted file]

index 50ec510651186752010d7ed48cb5ed48037e7571..8436af8525da638d579ce045a761c4ee65dc47f3 100644 (file)
@@ -6,7 +6,6 @@
 #include <drm/drm_blend.h>
 
 #include "i915_drv.h"
-#include "i915_fixed.h"
 #include "i915_reg.h"
 #include "i9xx_wm.h"
 #include "intel_atomic.h"
@@ -19,6 +18,7 @@
 #include "intel_display_power.h"
 #include "intel_display_types.h"
 #include "intel_fb.h"
+#include "intel_fixed.h"
 #include "intel_pcode.h"
 #include "intel_wm.h"
 #include "skl_watermark.h"
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_fixed.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_fixed.h
deleted file mode 100644 (file)
index 12c671f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* SPDX-License-Identifier: MIT */
-/*
- * Copyright © 2023 Intel Corporation
- */
-
-#include "../../i915/i915_fixed.h"