]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/uc: Drop explicit i915 param in some uc_fw functions
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 11 Dec 2019 12:45:47 +0000 (12:45 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Dec 2019 21:34:31 +0000 (21:34 +0000)
commitcb1b7ad08c22c771500bdd842b01bc12ffcfbb50
tree50625bf8b9b2810ff96b7bd8381cc43da683f491
parent65c29dbb19b2451990c5c477fef7ada3b8218f05
drm/i915/uc: Drop explicit i915 param in some uc_fw functions

There is no need to pass explicit i915 since we already have
a debug trick to get parent gt from uc_fw, we only need to
make this trick available on non-debug builds.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191211124549.59516-2-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h