[Intel-gfx] [PATCH 0/5] Rename all CSR references to DMC

Jani Nikula jani.nikula at linux.intel.com
Wed May 12 13:40:07 UTC 2021


On Tue, 11 May 2021, Anusha Srivatsa <anusha.srivatsa at intel.com> wrote:
> Currently in our driver we use both CSR and DMC interchangeably.
> Even though the spec mentions both, we do not follow that convention
> in the driver.
>
> Renaming all references of CSR to just be DMC. This hopefully makes
> the driver of this part a litlle less confusing.
>
> Suggested-by: Jani Nikula <jani.nikula at linux.intel.com>

Acked-by: Jani Nikula <jani.nikula at intel.com>

>
> Anusha Srivatsa (5):
>   drm/i915/dmc: s/intel_csr/intel_dmc
>   drm/i915/dmc: s/HAS_CSR/HAS_DMC
>   drm/i915/dmc: Rename macro names containing csr
>   drm/i915/dmc: Rename functions names having "csr"
>   drm/i915/dmc: s/intel_csr.c/intel_dmc.c and s/intel_csr.h/intel_dmc.h
>
>  drivers/gpu/drm/i915/Makefile                 |   2 +-
>  drivers/gpu/drm/i915/display/intel_csr.h      |  21 --
>  drivers/gpu/drm/i915/display/intel_display.c  |  16 +-
>  .../drm/i915/display/intel_display_debugfs.c  |  30 +-
>  .../drm/i915/display/intel_display_power.c    |  82 ++---
>  .../i915/display/{intel_csr.c => intel_dmc.c} | 335 +++++++++---------
>  drivers/gpu/drm/i915/display/intel_dmc.h      |  21 ++
>  drivers/gpu/drm/i915/display/intel_psr.c      |   2 +-
>  drivers/gpu/drm/i915/i915_drv.c               |   8 +-
>  drivers/gpu/drm/i915/i915_drv.h               |   6 +-
>  drivers/gpu/drm/i915/i915_gpu_error.c         |  12 +-
>  drivers/gpu/drm/i915/i915_pci.c               |   4 +-
>  drivers/gpu/drm/i915/i915_reg.h               |  28 +-
>  drivers/gpu/drm/i915/intel_device_info.c      |   2 +-
>  drivers/gpu/drm/i915/intel_device_info.h      |   2 +-
>  15 files changed, 285 insertions(+), 286 deletions(-)
>  delete mode 100644 drivers/gpu/drm/i915/display/intel_csr.h
>  rename drivers/gpu/drm/i915/display/{intel_csr.c => intel_dmc.c} (66%)
>  create mode 100644 drivers/gpu/drm/i915/display/intel_dmc.h

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list