[PATCH 7/9] drm/xe/ptl: PTL re-uses Xe2 MOCS table
Chauhan, Shekhar
shekhar.chauhan at intel.com
Tue Sep 10 06:16:38 UTC 2024
On 9/7/2024 3:21 AM, Matt Atwood wrote:
> From: Haridhar Kalvala <haridhar.kalvala at intel.com>
>
> PTL is Xe3 architecture but there is no difference between LNL and PTL
> in MOCS table. So, PTL uses the same MOCS table as LNL.
>
> Bpsec: 71582
>
> Cc: Matt Roper <matthew.d.roper at intel.com>
> Cc: Shekhar Chauhan <shekhar.chauhan at intel.com>
> Signed-off-by: Haridhar Kalvala <haridhar.kalvala at intel.com>
> Signed-off-by: Matt Atwood <matthew.s.atwood at intel.com>
LGTM,
Reviewed-by: Shekhar Chauhan <shekhar.chauhan at intel.com>
> ---
> drivers/gpu/drm/xe/xe_mocs.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c
> index 7ff0ac5b799a..51c192f3fdfd 100644
> --- a/drivers/gpu/drm/xe/xe_mocs.c
> +++ b/drivers/gpu/drm/xe/xe_mocs.c
> @@ -576,6 +576,7 @@ static unsigned int get_mocs_settings(struct xe_device *xe,
> memset(info, 0, sizeof(struct xe_mocs_info));
>
> switch (xe->info.platform) {
> + case XE_PANTHERLAKE:
> case XE_LUNARLAKE:
> case XE_BATTLEMAGE:
> info->ops = &xe2_mocs_ops;
--
-shekhar
More information about the Intel-xe
mailing list