[Intel-xe] [PATCH 13/26] drm/xe: Add media GT to tile
Rodrigo Vivi
rodrigo.vivi at kernel.org
Thu May 18 17:50:02 UTC 2023
On Wed, May 10, 2023 at 08:47:09PM -0700, Matt Roper wrote:
> 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.
I think it could be squashed in some other patch, but anyway
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
>
> Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
> ---
> drivers/gpu/drm/xe/xe_device_types.h | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
> index 1033f233f6ab..2cf67ea57aac 100644
> --- a/drivers/gpu/drm/xe/xe_device_types.h
> +++ b/drivers/gpu/drm/xe/xe_device_types.h
> @@ -81,7 +81,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.
> --
> 2.40.0
>
More information about the Intel-xe
mailing list