drm/i915: sseu: Convert slice count field to mask
authorImre Deak <imre.deak@intel.com>
Wed, 31 Aug 2016 16:13:04 +0000 (19:13 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 2 Sep 2016 15:17:14 +0000 (18:17 +0300)
commitf08a0c9234c86cf0249a5edd58a7abf69617f29f
treeee6f1b4c55b5653edaee5f1031d03c11fb64026e
parent615d8908ac9c723d8666bde44a7acc85af0baace
drm/i915: sseu: Convert slice count field to mask

In an upcoming patch we'll need the actual mask of slices in addition to
their count, so replace the count field with a mask.

v2:
- Use hweight8() on u8 typed vars instead of hweight32(). (Ben)

Reviewed-by: Robert Bragg <robert@sixbynine.org> (v1)
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com> (v1)
Tested-by: Ben Widawsky <benjamin.widawsky@intel.com> (v1)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1472659987-10417-5-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_lrc.c
This page took 0.027888 seconds and 5 git commands to generate.