(subset) [CI 1/3] drm/xe/uc: Use managed bo for HuC and GSC objects
Lucas De Marchi
lucas.demarchi at intel.com
Fri Aug 16 16:34:11 UTC 2024
On Thu, 15 Aug 2024 16:05:39 -0700, Lucas De Marchi wrote:
> Drmm actions are not the right ones to clean up BOs and we should use
> devm instead. However, we can also instead just allocate the objects
> using the managed_bo function, which will internally register the
> correct cleanup call and therefore allows us to simplify the code.
>
> While at it, switch to drmm_kzalloc for the GSC proxy allocation to
> further simplify the cleanup.
>
> [...]
Applied to drm-xe-next, thanks!
[1/3] drm/xe/uc: Use managed bo for HuC and GSC objects
commit: 2e5d47fe7839298fa096970e184aac9bf82c3bd3
[2/3] drm/xe/uc: Use devm to register cleanup that includes exec_queues
commit: 5a891a0e69f134f53cc91b409f38e5ea1cafaf0a
Best regards,
--
Lucas De Marchi <lucas.demarchi at intel.com>
More information about the Intel-xe
mailing list