drm/i915: don't mix bitwise and logical operations for has_snoop
authorJani Nikula <jani.nikula@intel.com>
Fri, 13 May 2016 14:04:38 +0000 (17:04 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 16 May 2016 07:44:22 +0000 (10:44 +0300)
commite8fcdf1e65c71340972041295fb7b3e59929b761
treea722c1a44a5bf9ef9bf93c4e0c6006cd8d18a6e5
parentf7770bfd9fd2ef13a5b70de1ffbc16019a929b48
drm/i915: don't mix bitwise and logical operations for has_snoop

Also make the code more readable.

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463148278-23193-2-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_dma.c