Re: [PATCH 2/5] drm/i915/guc: Add GuC ADS (Addition Data Structure) - allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux