diff options
author | Koby Elbaz <kelbaz@habana.ai> | 2023-10-05 18:06:17 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 19:42:59 +0300 |
commit | 866b2b1764341ada0611f54c6b19285c32d20efa (patch) | |
tree | fb4e47c2e7c7d4a17841067cba4e768cd787b758 /drivers/gpu/drm/xe/xe_device_types.h | |
parent | fdef72e02e20d7bc3c4b25607a2f8afa99d509eb (diff) | |
download | linux-866b2b1764341ada0611f54c6b19285c32d20efa.tar.xz |
drm/xe: add MMIO extension support flags
Besides the regular MMIO space that exists by default, MMIO
extension support & MMIO extension tile size should both be
defined per device, and updated from the device's descriptor.
Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Moti Haimovski <mhaimovski@habana.ai>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_device_types.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_device_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h index a9bf9c784b7c..b64f810189ff 100644 --- a/drivers/gpu/drm/xe/xe_device_types.h +++ b/drivers/gpu/drm/xe/xe_device_types.h @@ -200,6 +200,8 @@ struct xe_device { const char *graphics_name; /** @media_name: media IP name */ const char *media_name; + /** @tile_mmio_ext_size: size of MMIO extension space, per-tile */ + u32 tile_mmio_ext_size; /** @graphics_verx100: graphics IP version */ u32 graphics_verx100; /** @media_verx100: media IP version */ @@ -245,6 +247,8 @@ struct xe_device { u8 has_range_tlb_invalidation:1; /** @bypass_mtcfg: Bypass Multi-Tile configuration from MTCFG register */ u8 bypass_mtcfg:1; + /** @supports_mmio_ext: supports MMIO extension/s */ + u8 supports_mmio_ext:1; } info; /** @irq: device interrupt state */ |