Skip to content

Commit

Permalink
drm/xe: fix multicast support for Xe_LP platforms
Browse files Browse the repository at this point in the history
Xe_LP has six sublices per slice.

v2: fixed commit message and subject (Matt)

Bspec: 66696
Fixes: bde5d76 ("drm/xe: Add helper macro to loop each DSS")
Signed-off-by: Andrzej Hajda <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
  • Loading branch information
ahajda authored and lucasdemarchi committed Apr 5, 2024
1 parent f731556 commit 788d2ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion drivers/gpu/drm/xe/xe_gt_mcr.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,12 @@ static void init_steering_mslice(struct xe_gt *gt)

static unsigned int dss_per_group(struct xe_gt *gt)
{
return gt_to_xe(gt)->info.platform == XE_PVC ? 8 : 4;
if (gt_to_xe(gt)->info.platform == XE_PVC)
return 8;
else if (GRAPHICS_VERx100(gt_to_xe(gt)) >= 1250)
return 4;
else
return 6;
}

/**
Expand Down

0 comments on commit 788d2ad

Please sign in to comment.