OSDN Git Service

drm/i915/uc: Check all firmwares against WOPCM size
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 16 Oct 2017 14:47:16 +0000 (14:47 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 16 Oct 2017 15:53:26 +0000 (18:53 +0300)
commitafb3484f925d5e88ac0d4685ffc06b8dc5838bbf
tree565b095ae9fe1cb7ab03a19f1f68cf7363fa0e08
parentcd5a917e35bc51ebc5fe10cf226ba124b94f2147
drm/i915/uc: Check all firmwares against WOPCM size

Both GuC and HuC firmwares will be moved into WOPCM so
we can check ucode size early for both cases.

Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171016144724.17244-8-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_uc_fw.c