On Wed, Dec 16, 2015 at 01:40:52PM -0800, yu.dai@xxxxxxxxx wrote: > + page = i915_gem_object_get_page(obj, 0); > + ads = kmap_atomic(page); > + if (!ads) { kmap_atomic() cannot fail. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx