[PATCH 3/5] drm/i915: use shmem helpers if possible

2014-06-02 Thread Daniel Vetter
On Sun, May 25, 2014 at 02:34:10PM +0200, David Herrmann wrote: > Instead of shuffling gfp-masks all the time, use the > shmem_read_mapping_page() helper. Note that __GFP_IO and __GFP_WAIT are > set in mapping_gfp_mask() for i915, so the behavior is still the same. > > Cc: Daniel Vetter > Cc: Jan

[PATCH 3/5] drm/i915: use shmem helpers if possible

2014-05-25 Thread David Herrmann
Instead of shuffling gfp-masks all the time, use the shmem_read_mapping_page() helper. Note that __GFP_IO and __GFP_WAIT are set in mapping_gfp_mask() for i915, so the behavior is still the same. Cc: Daniel Vetter Cc: Jani Nikula Signed-off-by: David Herrmann --- drivers/gpu/drm/i915/i915_gem.