[Intel-gfx] [PATCH 0/3] Drop some explicit params in uc_fw functions

Michal Wajdeczko michal.wajdeczko at intel.com
Wed Dec 11 12:45:46 UTC 2019


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(-)

-- 
2.19.2



More information about the Intel-gfx mailing list