From: Matt Roper Date: Thu, 1 Jun 2023 21:52:32 +0000 (-0700) Subject: drm/xe: Add media GT to tile X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e2682f616b91c0000a02019047605956c85dcca1;p=linux.git drm/xe: Add media GT to tile This media_gt pointer isn't actually allocated yet. Future patches will start hooking it up at appropriate places in the code, and then creation of the media GT will be added once those infrastructure changes are in place. Reviewed-by: Rodrigo Vivi Link: https://lore.kernel.org/r/20230601215244.678611-20-matthew.d.roper@intel.com Signed-off-by: Matt Roper Signed-off-by: Rodrigo Vivi --- diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h index 5cb3fa9e8086a..16a77703d4298 100644 --- a/drivers/gpu/drm/xe/xe_device_types.h +++ b/drivers/gpu/drm/xe/xe_device_types.h @@ -76,7 +76,12 @@ struct xe_tile { */ struct xe_gt *primary_gt; - /* TODO: Add media GT here */ + /** + * @media_gt: Media GT + * + * Only present on devices with media version >= 13. + */ + struct xe_gt *media_gt; /** * @mmio: MMIO info for a tile.