]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bdw: sseu: Fix sseu status parsing
authorImre Deak <imre.deak@intel.com>
Wed, 31 Aug 2016 16:13:07 +0000 (19:13 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 2 Sep 2016 15:17:55 +0000 (18:17 +0300)
commitdea2e6da85f17eca59afb747e4561c8c23e7ca8f
tree32ec91ac9ca6895307cb8e86dbcca30e567ab848
parent30dcc39028bf0564e1e1144985408db126eba99c
drm/i915/bdw: sseu: Fix sseu status parsing

Currently when checking for fused off EUs we may ignore the EU count in
an enabled slice if there is any disabled slice preceding the enabled
one (with a lower slice ID). Perhaps this can't happen in reality, but
there is no reason to have this assumption built-in, the code is clearer
without it.

Reviewed-by: Robert Bragg <robert@sixbynine.org>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
Tested-by: Ben Widawsky <benjamin.widawsky@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1472659987-10417-8-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_debugfs.c