[PATCH 04/11] drm/xe/bmg: Add BMG mocs table

Matt Roper matthew.d.roper at intel.com
Tue Apr 2 13:52:31 UTC 2024


On Tue, Apr 02, 2024 at 06:17:17PM +0530, Balasubramani Vivekanandan wrote:
> BMG uses the same MOCS table as LNL.
> 
> Bpsec: 71582
> CC: Matt Roper <matthew.d.roper at intel.com>
> Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan at intel.com>

Reviewed-by: Matt Roper <matthew.d.roper 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 bff659d20062..4f836aeeabff 100644
> --- a/drivers/gpu/drm/xe/xe_mocs.c
> +++ b/drivers/gpu/drm/xe/xe_mocs.c
> @@ -375,6 +375,7 @@ static unsigned int get_mocs_settings(struct xe_device *xe,
>  
>  	switch (xe->info.platform) {
>  	case XE_LUNARLAKE:
> +	case XE_BATTLEMAGE:
>  		info->size = ARRAY_SIZE(xe2_mocs_table);
>  		info->table = xe2_mocs_table;
>  		info->n_entries = XE2_NUM_MOCS_ENTRIES;
> -- 
> 2.25.1
> 

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation


More information about the Intel-xe mailing list