Skip to content

Commit ab49840

Browse files
committed
drm/i915/dg2: DG2 uses the same sseu limits as XeHP SDV
DG2 supports compute DSS and has the same maximum number of DSS and EU as XeHP SDV. Signed-off-by: Matt Roper <[email protected]> Reviewed-by: Caz Yokoyama <[email protected]> Reviewed-by: José Roberto de Souza <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent eb962fa commit ab49840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gt/intel_sseu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ static void gen12_sseu_info_init(struct intel_gt *gt)
145145
* across the entire device. Then calculate out the DSS for each
146146
* workload type within that software slice.
147147
*/
148-
if (IS_XEHPSDV(gt->i915))
148+
if (IS_DG2(gt->i915) || IS_XEHPSDV(gt->i915))
149149
intel_sseu_set_info(sseu, 1, 32, 16);
150150
else
151151
intel_sseu_set_info(sseu, 1, 6, 16);

0 commit comments

Comments
 (0)