commit | f461d1be22239053919543ec9b048095407bf4bd | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Sun May 25 14:34:10 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Jun 11 16:57:38 2014 +0200 |
tree | 9a75621dee66e507e820366b7fa3f62bbd327cb9 | |
parent | 465c120c4c252e127b57cd133c4611b075e0a237 [diff] |
drm/i915: use shmem helpers if possible 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 <daniel.vetter@ffwll.ch> Cc: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>