]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/uc: Don't fetch GuC firmware if no plan to use GuC
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 6 Dec 2017 13:53:13 +0000 (13:53 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Dec 2017 14:41:51 +0000 (14:41 +0000)
commit5e4bceaf2ce2daaeae0acd20a9e09fe4ebc8ca67
treef9f7a7702eea61f4d68fd264821d9106ef4ff746
parent68394f6aea621e4923815fd7d26632cd394b4a6a
drm/i915/uc: Don't fetch GuC firmware if no plan to use GuC

If we don't plan to use GuC then we should not try to fetch GuC and
HuC firmwares. We can save memory and avoid possible dmesg noise.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@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/20171206135316.32556-4-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_uc.c