mbox series

[0/3] Drop some explicit params in uc_fw functions

Message ID 20191211124549.59516-1-michal.wajdeczko@intel.com (mailing list archive)
Headers show
Series Drop some explicit params in uc_fw functions | expand

Message

Michal Wajdeczko Dec. 11, 2019, 12:45 p.m. UTC
There is no need to pass explicit i915/gt/ggtt params since we
already have a debug trick to get parent gt from uc_fw, and thus
access i915/gt/ggtt implicitly, we only need to make this trick
available on non-debug builds.

Michal Wajdeczko (3):
  drm/i915/uc: Drop explicit i915 param in some uc_fw functions
  drm/i915/uc: Drop explicit gt param in some uc_fw functions
  drm/i915/uc: Drop explicit ggtt param in some uc_fw functions

 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c     |  5 +--
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c  | 53 +++++++++++------------
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h  |  5 +--
 5 files changed, 31 insertions(+), 36 deletions(-)