drm/xe/uc: Store firmware binary in system-memory backed BO
authorMichał Winiarski <michal.winiarski@intel.com>
Tue, 5 Dec 2023 01:33:06 +0000 (02:33 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:45:12 +0000 (11:45 -0500)
commitbf2d0d88c3b8d325eee670b2e0b4545de6d30998
tree6bce19a6558bfc4112cda560b05829f122aade67
parentc93ea05191c5b67ecaa784085f8a73e02abcfc76
drm/xe/uc: Store firmware binary in system-memory backed BO

The firmware loading for GuC is about to be moved, and will happen much
earlier in the probe process, when local-memory is not yet available.
While this has the potential to make the firmware loading process
slower, this is only happening during probe and full device reset.
Since both are not hot-paths - store all UC-like firmware in system
memory.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_uc_fw.c