]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915/wm: move struct intel_watermark_params to i9xx_wm.c
authorJani Nikula <jani.nikula@intel.com>
Mon, 26 Aug 2024 16:31:14 +0000 (19:31 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 Sep 2024 09:21:02 +0000 (12:21 +0300)
The definition is only used within i9xx_wm.c, hide it there.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/d7408290c909eb67fc7a935469a3c6287b58587d.1724689818.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/i9xx_wm.c
drivers/gpu/drm/i915/display/intel_display_types.h

index 15cda57fbc912f9a417e384f061d9d762772fb10..4e7ca5277bf1e9d581eba436b3c02159108b2c2c 100644 (file)
 #include "skl_watermark.h"
 #include "vlv_sideband.h"
 
+struct intel_watermark_params {
+       u16 fifo_size;
+       u16 max_wm;
+       u8 default_wm;
+       u8 guard_size;
+       u8 cacheline_size;
+};
+
 /* used in computing the new watermarks state */
 struct intel_wm_config {
        unsigned int num_pipes_active;
index f29e5dc3db910c8e8ff33e3b89ca0c98fa93b4da..fdaefb765f12c4d01aa2ffd44024a30584947235 100644 (file)
@@ -1601,14 +1601,6 @@ struct intel_plane {
        void (*disable_flip_done)(struct intel_plane *plane);
 };
 
-struct intel_watermark_params {
-       u16 fifo_size;
-       u16 max_wm;
-       u8 default_wm;
-       u8 guard_size;
-       u8 cacheline_size;
-};
-
 #define to_intel_atomic_state(x) container_of(x, struct intel_atomic_state, base)
 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base)
 #define to_intel_connector(x) container_of(x, struct intel_connector, base)