intel: devinfo: store slice/subslice/eu masks
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 14 Mar 2018 13:16:01 +0000 (13:16 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 22 Mar 2018 20:14:22 +0000 (20:14 +0000)
commitc471716574c951cc332ca1cce1a221befc9f9392
tree9f63086d1d22a34f2960e754f346a0073b74777a
parent7e2c6147da427df974b673178d7142836bfac6a1
intel: devinfo: store slice/subslice/eu masks

We want to store values coming from the kernel but as a first step, we
can generate mask values out the numbers already stored in the
gen_device_info masks.

v2: Add a helper to set EU masks (Lionel/Ken)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/dev/gen_device_info.c
src/intel/dev/gen_device_info.h