]> Gentwo Git Trees - linux/.git/commit
drm/xe: Break GT setup out of xe_info_init()
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 13 Oct 2025 20:10:04 +0000 (13:10 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 14 Oct 2025 14:45:17 +0000 (07:45 -0700)
commit6675c9e209155fb7a454325760cb5bc5111671f4
treebfd0f39ecf5b8a8cf97b351d5483ba46e5341d60
parentad0084f3f8ba1891b1e59b9606eae8c2474a1496
drm/xe: Break GT setup out of xe_info_init()

xe_info_init() is getting a bit long and hard to follow.  Break the
allocation and basic initialization of the xe_gt structures out to their
own functions.

v2:
 - Rename new functions from init_* to alloc_*.  (Gustavo)
 - Move early NULL return of media GT before allocation.  (Gustavo)

Cc: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20251013200944.2499947-46-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_pci.c