drm/xe: Add media GT to tile
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 1 Jun 2023 21:52:32 +0000 (14:52 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:34:15 +0000 (18:34 -0500)
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 <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20230601215244.678611-20-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_device_types.h

index 5cb3fa9..16a7770 100644 (file)
@@ -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.