drm/i915: simplify check for I915G/I945G in bit 6 swizzling detection
authorJani Nikula <jani.nikula@intel.com>
Tue, 13 Dec 2016 11:10:59 +0000 (13:10 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 14 Dec 2016 13:18:52 +0000 (15:18 +0200)
commit9eebfdbff2f857fbb7d730e338e3ad37b684bd5d
tree48a9bd584e4f957a00dd13df414affcc9ebee5c2
parent2dd85aeb5bc99e3763dd192cdb95ff405a102c8a
drm/i915: simplify check for I915G/I945G in bit 6 swizzling detection

Commit c9c4b6f6c283 ("drm/i915: fix swizzle detection for gen3") added a
complicated check for I915G/I945G. Pineview and other gen3 devices match
IS_MOBILE() anyway. Simplify.

Cc: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1481627459-488-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_gem_fence_reg.c