]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/dmc: s/intel_csr.c/intel_dmc.c and s/intel_csr.h/intel_dmc.h
authorAnusha Srivatsa <anusha.srivatsa@intel.com>
Tue, 18 May 2021 21:34:44 +0000 (14:34 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 20 May 2021 01:47:04 +0000 (18:47 -0700)
Finally, rename the header and source file from csr to dmc.

v2: Add file rename in Documentation.
- Place headers in orders. (Jani)

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210518213444.11420-6-anusha.srivatsa@intel.com
Documentation/gpu/i915.rst
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_debugfs.c
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_dmc.c [moved from drivers/gpu/drm/i915/display/intel_csr.c with 99% similarity]
drivers/gpu/drm/i915/display/intel_dmc.h [moved from drivers/gpu/drm/i915/display/intel_csr.h with 88% similarity]
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_gpu_error.c

index 486c720f38907f8629a3abd53325ff3042a1c9c1..42ce0196930a1281b65b714f4aa3ce8ad5a23354 100644 (file)
@@ -210,13 +210,13 @@ DPIO
 .. kernel-doc:: drivers/gpu/drm/i915/display/intel_dpio_phy.c
    :doc: DPIO
 
-CSR firmware support for DMC
-----------------------------
+DMC Firmware Support
+--------------------
 
-.. kernel-doc:: drivers/gpu/drm/i915/display/intel_csr.c
-   :doc: csr support for dmc
+.. kernel-doc:: drivers/gpu/drm/i915/display/intel_dmc.c
+   :doc: DMC Firmware Support
 
-.. kernel-doc:: drivers/gpu/drm/i915/display/intel_csr.c
+.. kernel-doc:: drivers/gpu/drm/i915/display/intel_dmc.c
    :internal:
 
 Video BIOS Table (VBT)
@@ -537,7 +537,7 @@ The HuC FW layout is the same as the GuC one, see `GuC Firmware Layout`_
 
 DMC
 ---
-See `CSR firmware support for DMC`_
+See `DMC Firmware Support`_
 
 Tracing
 =======
index d0d936d9137bc370394e2ba283d2537a2540382a..2da5bae8fa03bf3675b290460151d5bb267ad51a 100644 (file)
@@ -201,10 +201,10 @@ i915-y += \
        display/intel_combo_phy.o \
        display/intel_connector.o \
        display/intel_crtc.o \
-       display/intel_csr.o \
        display/intel_cursor.o \
        display/intel_display.o \
        display/intel_display_power.o \
+       display/intel_dmc.o \
        display/intel_dpio_phy.o \
        display/intel_dpll.o \
        display/intel_dpll_mgr.o \
index 6146fed96ffc079cb7af3c3fc8bdf0e087225848..a053aa24bcd8fb82bc8553fb0f8ed69a59c4dd0d 100644 (file)
@@ -79,9 +79,9 @@
 #include "intel_cdclk.h"
 #include "intel_color.h"
 #include "intel_crtc.h"
-#include "intel_csr.h"
 #include "intel_de.h"
 #include "intel_display_types.h"
+#include "intel_dmc.h"
 #include "intel_dp_link_training.h"
 #include "intel_fbc.h"
 #include "intel_fdi.h"
index e43abdf0e3d9c29d44f7d1dbb22835ae55e6f96c..94e5cbd86e77babb138d73c2f00505ac71f90e0b 100644 (file)
@@ -7,11 +7,11 @@
 #include <drm/drm_fourcc.h>
 
 #include "i915_debugfs.h"
-#include "intel_csr.h"
 #include "intel_display_debugfs.h"
 #include "intel_display_power.h"
 #include "intel_de.h"
 #include "intel_display_types.h"
+#include "intel_dmc.h"
 #include "intel_dp.h"
 #include "intel_fbc.h"
 #include "intel_hdcp.h"
index cbba41d3e6cf1ba9bad4c966fb04f950e5454322..e8fcc3d02d01b354a17b47f287384a8167fd3581 100644 (file)
@@ -9,10 +9,10 @@
 #include "i915_irq.h"
 #include "intel_cdclk.h"
 #include "intel_combo_phy.h"
-#include "intel_csr.h"
 #include "intel_display_power.h"
 #include "intel_de.h"
 #include "intel_display_types.h"
+#include "intel_dmc.h"
 #include "intel_dpio_phy.h"
 #include "intel_hotplug.h"
 #include "intel_pm.h"
similarity index 99%
rename from drivers/gpu/drm/i915/display/intel_csr.c
rename to drivers/gpu/drm/i915/display/intel_dmc.c
index ae1dfafaff9a1622a23587c93eca1cdb438f1a1b..560574dd929acf4a0d2a79739ae07416f86f6196 100644 (file)
 
 #include "i915_drv.h"
 #include "i915_reg.h"
-#include "intel_csr.h"
 #include "intel_de.h"
+#include "intel_dmc.h"
 
 /**
- * DOC: DMC firmware support
+ * DOC: DMC Firmware Support
  *
  * From gen9 onwards we have newly added DMC (Display microcontroller) in display
  * engine to save and restore the state of display engine when it enter into
similarity index 88%
rename from drivers/gpu/drm/i915/display/intel_csr.h
rename to drivers/gpu/drm/i915/display/intel_dmc.h
index fc4960b91686f028895af78d49504aea9179450a..57dd99da0cedd2934131e69e672938835e679a02 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright © 2019 Intel Corporation
  */
 
-#ifndef __INTEL_CSR_H__
-#define __INTEL_CSR_H__
+#ifndef __INTEL_DMC_H__
+#define __INTEL_DMC_H__
 
 struct drm_i915_private;
 
@@ -18,4 +18,4 @@ void intel_dmc_ucode_fini(struct drm_i915_private *i915);
 void intel_dmc_ucode_suspend(struct drm_i915_private *i915);
 void intel_dmc_ucode_resume(struct drm_i915_private *i915);
 
-#endif /* __INTEL_CSR_H__ */
+#endif /* __INTEL_DMC_H__ */
index 751f8bb9d5d3ef4a6ef7f09093c8e209c4791123..a820611d1196efa62da2ebe9a293fb54692b288b 100644 (file)
@@ -48,7 +48,7 @@
 #include "display/intel_acpi.h"
 #include "display/intel_bw.h"
 #include "display/intel_cdclk.h"
-#include "display/intel_csr.h"
+#include "display/intel_dmc.h"
 #include "display/intel_display_types.h"
 #include "display/intel_dp.h"
 #include "display/intel_fbdev.h"
index edd108d41318cde8b26bcc5b5f5aa668dba49265..8b964e355cb51e6dad54fecb15cff7027b5fed1c 100644 (file)
@@ -36,7 +36,7 @@
 
 #include <drm/drm_print.h>
 
-#include "display/intel_csr.h"
+#include "display/intel_dmc.h"
 #include "display/intel_overlay.h"
 
 #include "gem/i915_gem_context.h"