drm/i915/chv: Determine CHV slice/subslice/EU info
authorJeff McGee <jeff.mcgee@intel.com>
Fri, 27 Feb 2015 20:12:28 +0000 (12:12 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 21:30:05 +0000 (22:30 +0100)
commitc93043ae1deaa0f9bd394ac2d8c6881deb19b53a
treeb62df83df7a6cac8b78a0ed24f533fbea301d98d
parentc6beb13ef33ae9430953deaa51db18a9e14277af
drm/i915/chv: Determine CHV slice/subslice/EU info

Total EU was already being detected on CHV, so we just add the
additional info parameters. The detection method is changed to
be more robust in the case of subslice fusing - we don't want
to trust the EU fuse bits corresponding to subslices which are
fused-off.

v2: Fixed subslice disable bitmasks and removed unnecessary ?
    operation (Ville)

Signed-off-by: Jeff McGee <jeff.mcgee@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_reg.h