Fix sense of test in last commit, noted by Robert Swindells.

This commit is contained in:
riastradh 2014-05-14 16:25:19 +00:00
parent 05d529cbfb
commit dba14edfb9
1 changed files with 1 additions and 1 deletions

View File

@ -2214,7 +2214,7 @@ i915_gem_object_get_pages_gtt(struct drm_i915_gem_object *obj)
const uint64_t mask =
(IS_BROADWATER(dev) || IS_CRESTLINE(dev)?
0xffffffffULL : 0xffffffffffULL);
if (VM_PAGE_TO_PHYS(page) & mask) {
if (VM_PAGE_TO_PHYS(page) & ~mask) {
DRM_ERROR("GEM physical address exceeds %u bits"
": %"PRIxMAX"\n",
popcount64(mask),