drm/i915/uc: Fail early if there is no GuC fw available
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sun, 11 Aug 2019 19:51:29 +0000 (19:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 12 Aug 2019 08:47:42 +0000 (09:47 +0100)
commitae7a3166a708bee439c7f683327f7381bdfd08ec
tree9e8979b4833a9ad506c5cdfcb9d2518fe122f538
parent9f4dd137b20e4e09ada4087b03eb7cb347c35a75
drm/i915/uc: Fail early if there is no GuC fw available

We don't want to rely on misleading WOPCM partitioning error.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
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/20190811195132.9660-2-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h