[Intel-xe] [PATCH v3 10/31] drm/xe: Move VRAM from GT to tile

Gustavo Sousa gustavo.sousa at intel.com
Wed May 31 21:38:20 UTC 2023


Quoting Gustavo Sousa (2023-05-31 16:24:44-03:00)
> (...)
> 
>>-static s64 detect_bar2_dgfx(struct xe_gt *gt, struct xe_ttm_stolen_mgr *mgr)
>>+static s64 detect_bar2_dgfx(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr)
>> {
>>-        struct pci_dev *pdev = to_pci_dev(gt_to_xe(gt)->drm.dev);
>>+        struct xe_tile *tile = xe_device_get_root_tile(xe);
>>+        struct xe_gt *mmio = &tile->primary_gt;
>
>Was naming this variable "mmio" intentional here?

Ah okay, I got the intention after reading the explanation in "drm/xe:
Interrupts are delivered per-tile, not per-GT".

--
Gustavo Sousa


More information about the Intel-xe mailing list