]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: rename intel_plane_initial.h to intel_initial_plane.h
authorJani Nikula <jani.nikula@intel.com>
Mon, 15 Dec 2025 15:28:17 +0000 (17:28 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 22 Dec 2025 13:09:22 +0000 (15:09 +0200)
Follow the more naturally flowing naming. Rename both the header and the
vblank wait function.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/32c2d68a9ae7d2262ad2c63e873e522e67bc78df.1765812266.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_driver.c
drivers/gpu/drm/i915/display/intel_initial_plane.h [moved from drivers/gpu/drm/i915/display/intel_plane_initial.h with 60% similarity]
drivers/gpu/drm/i915/i915_initial_plane.c
drivers/gpu/drm/xe/display/xe_initial_plane.c

index d5947cc9b94c550858baebc2b58d6c0f01108e8c..1e3c5761fc5e85e8691043022bda22065524b370 100644 (file)
 #include "intel_frontbuffer.h"
 #include "intel_hdmi.h"
 #include "intel_hotplug.h"
+#include "intel_initial_plane.h"
 #include "intel_link_bw.h"
 #include "intel_lt_phy.h"
 #include "intel_lvds.h"
 #include "intel_pfit.h"
 #include "intel_pipe_crc.h"
 #include "intel_plane.h"
-#include "intel_plane_initial.h"
 #include "intel_pmdemand.h"
 #include "intel_pps.h"
 #include "intel_psr.h"
@@ -639,7 +639,7 @@ void intel_plane_disable_noatomic(struct intel_crtc *crtc,
        if ((crtc_state->active_planes & ~BIT(PLANE_CURSOR)) == 0 &&
            hsw_ips_disable(crtc_state)) {
                crtc_state->ips_enabled = false;
-               intel_plane_initial_vblank_wait(crtc);
+               intel_initial_plane_vblank_wait(crtc);
        }
 
        /*
@@ -653,7 +653,7 @@ void intel_plane_disable_noatomic(struct intel_crtc *crtc,
         */
        if (HAS_GMCH(display) &&
            intel_set_memory_cxsr(display, false))
-               intel_plane_initial_vblank_wait(crtc);
+               intel_initial_plane_vblank_wait(crtc);
 
        /*
         * Gen2 reports pipe underruns whenever all planes are disabled.
@@ -663,7 +663,7 @@ void intel_plane_disable_noatomic(struct intel_crtc *crtc,
                intel_set_cpu_fifo_underrun_reporting(display, crtc->pipe, false);
 
        intel_plane_disable_arm(NULL, plane, crtc_state);
-       intel_plane_initial_vblank_wait(crtc);
+       intel_initial_plane_vblank_wait(crtc);
 }
 
 unsigned int
index e1d29aea0ddcc474760a4a8f3990ef8b34ab6dcf..468a6e96bb843e7defe1d41945de185dd1277671 100644 (file)
 #include "intel_hdcp.h"
 #include "intel_hotplug.h"
 #include "intel_hti.h"
+#include "intel_initial_plane.h"
 #include "intel_modeset_lock.h"
 #include "intel_modeset_setup.h"
 #include "intel_opregion.h"
 #include "intel_overlay.h"
-#include "intel_plane_initial.h"
 #include "intel_pmdemand.h"
 #include "intel_pps.h"
 #include "intel_psr.h"
similarity index 60%
rename from drivers/gpu/drm/i915/display/intel_plane_initial.h
rename to drivers/gpu/drm/i915/display/intel_initial_plane.h
index 5c315acda2101cbb3a56f77531c6f9cb81d125ae..5f9a347be8f0f791d6baab72ce595bf6411e23c6 100644 (file)
@@ -3,13 +3,13 @@
  * Copyright © 2021 Intel Corporation
  */
 
-#ifndef __INTEL_PLANE_INITIAL_H__
-#define __INTEL_PLANE_INITIAL_H__
+#ifndef __INTEL_INITIAL_PLANE_H__
+#define __INTEL_INITIAL_PLANE_H__
 
 struct intel_crtc;
 struct intel_display;
 
 void intel_initial_plane_config(struct intel_display *display);
-void intel_plane_initial_vblank_wait(struct intel_crtc *crtc);
+void intel_initial_plane_vblank_wait(struct intel_crtc *crtc);
 
 #endif
index 87c964485a41fd00324d0770fa22eaa34792cab2..b7f115708c32915460bfab809b287b69d213e330 100644 (file)
 #include "display/intel_display_types.h"
 #include "display/intel_fb.h"
 #include "display/intel_frontbuffer.h"
+#include "display/intel_initial_plane.h"
 #include "display/intel_plane.h"
-#include "display/intel_plane_initial.h"
 #include "gem/i915_gem_lmem.h"
 #include "gem/i915_gem_region.h"
 
 #include "i915_drv.h"
 
-void intel_plane_initial_vblank_wait(struct intel_crtc *crtc)
+void intel_initial_plane_vblank_wait(struct intel_crtc *crtc)
 {
        intel_crtc_wait_for_next_vblank(crtc);
 }
@@ -436,7 +436,7 @@ void intel_initial_plane_config(struct intel_display *display)
                intel_find_initial_plane_obj(crtc, plane_configs);
 
                if (display->funcs.display->fixup_initial_plane_config(crtc, plane_config))
-                       intel_plane_initial_vblank_wait(crtc);
+                       intel_initial_plane_vblank_wait(crtc);
 
                plane_config_fini(plane_config);
        }
index 01c105a93bb9042c5d5612701e6a601e13b6f5bf..9d5760e56c4c87e7631089a6759c706fe097491a 100644 (file)
 #include "intel_fb.h"
 #include "intel_fb_pin.h"
 #include "intel_frontbuffer.h"
+#include "intel_initial_plane.h"
 #include "intel_plane.h"
-#include "intel_plane_initial.h"
 #include "xe_bo.h"
 #include "xe_vram_types.h"
 #include "xe_wa.h"
 
 #include <generated/xe_device_wa_oob.h>
 
-void intel_plane_initial_vblank_wait(struct intel_crtc *crtc)
+void intel_initial_plane_vblank_wait(struct intel_crtc *crtc)
 {
        /* Early xe has no irq */
        struct xe_device *xe = to_xe_device(crtc->base.dev);
@@ -314,7 +314,7 @@ void intel_initial_plane_config(struct intel_display *display)
                intel_find_initial_plane_obj(crtc, plane_configs);
 
                if (display->funcs.display->fixup_initial_plane_config(crtc, plane_config))
-                       intel_plane_initial_vblank_wait(crtc);
+                       intel_initial_plane_vblank_wait(crtc);
 
                plane_config_fini(plane_config);
        }