We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7090d7f commit 15939caCopy full SHA for 15939ca
drivers/gpu/drm/xe/xe_mmio.c
@@ -30,7 +30,8 @@ static void tiles_fini(void *arg)
30
int id;
31
32
for_each_tile(tile, xe, id)
33
- tile->mmio.regs = NULL;
+ if (tile != xe_device_get_root_tile(xe))
34
+ tile->mmio.regs = NULL;
35
}
36
37
int xe_mmio_probe_tiles(struct xe_device *xe)
@@ -91,9 +92,11 @@ int xe_mmio_probe_tiles(struct xe_device *xe)
91
92
static void mmio_fini(void *arg)
93
{
94
struct xe_device *xe = arg;
95
+ struct xe_tile *root_tile = xe_device_get_root_tile(xe);
96
97
pci_iounmap(to_pci_dev(xe->drm.dev), xe->mmio.regs);
98
xe->mmio.regs = NULL;
99
+ root_tile->mmio.regs = NULL;
100
101
102
int xe_mmio_init(struct xe_device *xe)
0 commit comments