diff options
| author | Piotr Piórkowski <piotr.piorkowski@intel.com> | 2025-07-14 20:48:17 +0200 |
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-07-16 12:12:49 -0700 |
| commit | d65ff1ec85355959e4ca452fba458687e4da583a (patch) | |
| tree | 8a41f8e2fe224ab1d85a660b15a7db7477c7ff3e /scripts/gdb/linux/mm.py | |
| parent | 7a20b4f558f4291161f71a5b7384262db9ccd6b0 (diff) | |
drm/xe: Split xe_migrate allocation from initialization
Currently, xe_migrate_init handled both allocation and initialization,
Lets moves allocation to xe_tile_alloc via a new xe_migrate_alloc
function, and keep initialization in xe_migrate_init.
This will allow the migration pointers to be passed to other structures
before full initialization.
Also replaces devm_kzalloc with drmm_kzalloc for better
DRM-managed memory.
Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250714184818.89201-5-piotr.piorkowski@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions
