i915: Replace "hweight8(dev_priv->info.subslice_7eu[i]) != 1" with "!is_power_of_2...
authorZeng Zhaoxiu <zhaoxiu.zeng@gmail.com>
Sun, 6 Dec 2015 10:26:30 +0000 (18:26 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 7 Dec 2015 07:44:20 +0000 (08:44 +0100)
commita4d8a0fe4500b87817eebdb363c116922de87453
tree306f13e0724ac5aff6d19879104265bd8ecaf7f4
parent03a97d825573de7b6ff1b44f257345efbff2161a
i915: Replace "hweight8(dev_priv->info.subslice_7eu[i]) != 1" with "!is_power_of_2(dev_priv->info.subslice_7eu[i])"

Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449397590-14292-1-git-send-email-zhaoxiu.zeng@gmail.com
drivers/gpu/drm/i915/intel_ringbuffer.c