intel: devinfo: fix assertion on devices with odd number of EUs
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 23 Apr 2018 16:52:37 +0000 (17:52 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 8 May 2018 14:15:54 +0000 (15:15 +0100)
commit3cdf1bf97db19b94577b49079cbbc521157d4e03
treea75327daca86dc47463fcf61a5b8a777f0f70304
parentb17cfb08a3fc9a599eff64fffe48daba398a672f
intel: devinfo: fix assertion on devices with odd number of EUs

I forgot to change the assert in the second helper function in a
previous change.

This hit the assert() on a Broadwell platform with 1 slice, 3
subslices but all EUs disabled in subslice 1 & 2.

Fixes: c1900f5b0fb ("intel: devinfo: add helper functions to fill fusing masks values")
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/dev/gen_device_info.c