Re: [PATCH 0/2] drm/i915: intel sbi/pcode cleanup

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

 



On Thu, Oct 14, 2021 at 01:28:56PM +0300, Jani Nikula wrote:
Split out the sbi and pcode code to separate files.

There's potential for follow-up work that's not included here:

- vlv_sideband, intel_sbi and intel_pcode all use
 i915->sb_lock. Technically it's fine, but the appearance is confusing.

- The pcode function naming could use some cleanup.

- Slightly unrelated, all the functions in intel_display.c using
 intel_sbi should be moved out of intel_display.c as a group.


BR,
Jani.

Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>


series is


Reviewed-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>

thanks for cleaning that up.

Lucas De Marchi

Jani Nikula (2):
 drm/i915: split out intel_pcode.[ch] to separate file
 drm/i915: rename intel_sideband.[ch] to intel_sbi.[ch]

drivers/gpu/drm/i915/Makefile                 |  3 +-
drivers/gpu/drm/i915/display/intel_bw.c       |  2 +-
drivers/gpu/drm/i915/display/intel_cdclk.c    |  2 +-
drivers/gpu/drm/i915/display/intel_display.c  |  5 +-
.../drm/i915/display/intel_display_power.c    |  2 +-
drivers/gpu/drm/i915/display/intel_fdi.c      |  2 +-
drivers/gpu/drm/i915/display/intel_hdcp.c     |  6 +-
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c |  2 +-
drivers/gpu/drm/i915/gt/intel_llc.c           |  2 +-
drivers/gpu/drm/i915/gt/intel_rc6.c           |  2 +-
drivers/gpu/drm/i915/gt/intel_rps.c           |  2 +-
drivers/gpu/drm/i915/i915_drv.c               |  2 +-
drivers/gpu/drm/i915/intel_dram.c             |  2 +-
.../i915/{intel_sideband.c => intel_pcode.c}  | 91 +------------------
.../i915/{intel_sideband.h => intel_pcode.h}  | 19 ++--
drivers/gpu/drm/i915/intel_pm.c               |  2 +-
drivers/gpu/drm/i915/intel_sbi.c              | 73 +++++++++++++++
drivers/gpu/drm/i915/intel_sbi.h              | 23 +++++
18 files changed, 124 insertions(+), 118 deletions(-)
rename drivers/gpu/drm/i915/{intel_sideband.c => intel_pcode.c} (69%)
rename drivers/gpu/drm/i915/{intel_sideband.h => intel_pcode.h} (63%)
create mode 100644 drivers/gpu/drm/i915/intel_sbi.c
create mode 100644 drivers/gpu/drm/i915/intel_sbi.h

--
2.30.2




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux