]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915/chv: Populate total EU count on Cherryview
authorDeepak S <deepak.s@linux.intel.com>
Fri, 16 Jan 2015 15:12:16 +0000 (20:42 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:50:43 +0000 (09:50 +0100)
commit693d11c34053450a7d2c6590d3815156572b700c
tree4ff23d93d7b1179785617b0f88ec2076a95f9db4
parentd0dc1c8398e75f4efd37e9602f18bb024428516d
drm/i915/chv: Populate total EU count on Cherryview

Starting with Cherryview, devices may have a varying number of EU for
a given ID due to creative fusing. Punit support different frequency for
different fuse data. We use this patch to help get total eu enabled and
read the right offset to get RP0

Based upon a patch from Jeff, but reworked to only store eu_total and
avoid sending info to userspace

v2: Format register definitions (Jani)

Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Acked-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_drv.h
drivers/gpu/drm/i915/i915_reg.h