]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Fix tile fini sequence
authorMatthew Brost <matthew.brost@intel.com>
Fri, 9 Aug 2024 23:28:30 +0000 (16:28 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 16 Aug 2024 02:14:08 +0000 (19:14 -0700)
commit3396900aa273903639a1792afa4d23dc09bec291
tree3cfdc143cab12d489b8effc21904201b35d23501
parent8d3a2d3d766a823c7510cdc17e6ff7c042c63b61
drm/xe: Fix tile fini sequence

Only set tile->mmio.regs to NULL if not the root tile in tile_fini. The
root tile mmio regs is setup ealier in MMIO init thus it should be set
to NULL in mmio_fini.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240809232830.3302251-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_mmio.c