[PATCH v3 0/5] drm/i915: Rename global i915 to i915_params

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Our global struct with params is named exactly the same way
as new preferred name for the drm_i915_private function parameter.

To avoid such name reuse and allow further cleanup of deprecated
dev_priv lets use different name for the global.

Most of the changes were done by Coccinelle.

v2: But before doing that, do some cleanup in params definitions
    to make actual (and future) rename easier (Chris, Jani, Tvrtko)

v3: Separate macros for set/inc/dec (Jani)

Michal Wajdeczko (5):
  drm/i915: Rename lvds_use_ssc modparam to panel_use_ssc
  drm/i915: Introduce custom variant of module_param_named macro
  drm/i915: Extend private i915_param_named macro with description
  drm/i915: Wrap access to module params into macro
  drm/i915: Rename global i915 to i915_params

 drivers/gpu/drm/i915/gvt/render.c             |   2 +-
 drivers/gpu/drm/i915/i915_debugfs.c           |  14 +--
 drivers/gpu/drm/i915/i915_drv.c               |  33 ++---
 drivers/gpu/drm/i915/i915_drv.h               |  10 +-
 drivers/gpu/drm/i915/i915_gem.c               |   6 +-
 drivers/gpu/drm/i915/i915_gem_context.c       |  12 +-
 drivers/gpu/drm/i915/i915_gem_execbuffer.c    |   2 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c           |   6 +-
 drivers/gpu/drm/i915/i915_gpu_error.c         |   6 +-
 drivers/gpu/drm/i915/i915_guc_submission.c    |   2 +-
 drivers/gpu/drm/i915/i915_irq.c               |   2 +-
 drivers/gpu/drm/i915/i915_params.c            | 166 +++++++++++---------------
 drivers/gpu/drm/i915/i915_params.h            |   8 +-
 drivers/gpu/drm/i915/i915_pci.c               |   6 +-
 drivers/gpu/drm/i915/i915_perf.c              |   6 +-
 drivers/gpu/drm/i915/intel_bios.c             |   6 +-
 drivers/gpu/drm/i915/intel_crt.c              |   4 +-
 drivers/gpu/drm/i915/intel_device_info.c      |   2 +-
 drivers/gpu/drm/i915/intel_display.c          |  12 +-
 drivers/gpu/drm/i915/intel_dp.c               |   4 +-
 drivers/gpu/drm/i915/intel_dp_aux_backlight.c |   2 +-
 drivers/gpu/drm/i915/intel_drv.h              |   2 +-
 drivers/gpu/drm/i915/intel_engine_cs.c        |   6 +-
 drivers/gpu/drm/i915/intel_fbc.c              |  11 +-
 drivers/gpu/drm/i915/intel_guc_loader.c       |  13 +-
 drivers/gpu/drm/i915/intel_guc_log.c          |  25 ++--
 drivers/gpu/drm/i915/intel_gvt.c              |  12 +-
 drivers/gpu/drm/i915/intel_hangcheck.c        |   2 +-
 drivers/gpu/drm/i915/intel_huc.c              |   4 +-
 drivers/gpu/drm/i915/intel_lrc.c              |   8 +-
 drivers/gpu/drm/i915/intel_lvds.c             |   4 +-
 drivers/gpu/drm/i915/intel_opregion.c         |   2 +-
 drivers/gpu/drm/i915/intel_panel.c            |   8 +-
 drivers/gpu/drm/i915/intel_pm.c               |   6 +-
 drivers/gpu/drm/i915/intel_psr.c              |  10 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c       |   8 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c       |  16 +--
 drivers/gpu/drm/i915/intel_uc.c               |  51 ++++----
 drivers/gpu/drm/i915/intel_uncore.c           |  23 ++--
 39 files changed, 253 insertions(+), 269 deletions(-)

-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux