]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite917d5cae237831b4880d63dab83e1ed92cc6ff6
treeb62df83df7a6cac8b78a0ed24f533fbea301d98d
parent1e49d9b1f8bbacc182abe81d11f0d9558dab60ba
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