Re: [Intel-gfx] [PATCH v2 09/10] drm/i915/uc: consolidate firmware cleanup

2020-02-06 Thread Michal Wajdeczko
On Tue, 04 Feb 2020 00:28:37 +0100, Daniele Ceraolo Spurio wrote: We are quite trigger happy in cleaning up the firmware blobs, as we do so from several error/fini paths in GuC/HuC/uC code. We do have the __uc_cleanup_firmwares cleanup function, which unwinds __uc_fetch_firmwares and is alrea

[Intel-gfx] [PATCH v2 09/10] drm/i915/uc: consolidate firmware cleanup

2020-02-03 Thread Daniele Ceraolo Spurio
We are quite trigger happy in cleaning up the firmware blobs, as we do so from several error/fini paths in GuC/HuC/uC code. We do have the __uc_cleanup_firmwares cleanup function, which unwinds __uc_fetch_firmwares and is already called both from the error path of gem_init and from gem_driver_relea