Commit d36763b2 authored by Lionel Landwerlin's avatar Lionel Landwerlin

intel: fix subslice computation from topology data

We're missing the offset of the slice in the subslice mask...

This worked for most platforms that don't have first slice fused off
because we would reread the same mask from slice0 again and again...
Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <>
Fixes: c1900f5b ("intel: devinfo: add helper functions to fill fusing masks values")
Gitlab: #1869Reviewed-by: Mark Janes's avatarMark Janes <>
parent 396b4109
Pipeline #68595 passed with stages
in 17 minutes and 37 seconds
......@@ -1104,7 +1104,7 @@ update_from_topology(struct gen_device_info *devinfo,
for (int b = 0; b < devinfo->subslice_slice_stride; b++) {
devinfo->num_subslices[s] +=
__builtin_popcount(devinfo->subslice_masks[s * devinfo->subslice_slice_stride + b]);
n_subslices += devinfo->num_subslices[s];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment