summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorHugh Dickins2011-06-28 01:18:17 +0200
committerLinus Torvalds2011-06-28 03:00:13 +0200
commit3142b651ad2232cf0e375c291ee4b893c8559df5 (patch)
treeec8038ccadc92cbceee37e084c77f73fb61d1d53 /drivers/gpu/drm/i915/i915_gem.c
parentdrivers/tty/serial/8250_pci.c: fix warning (diff)
downloadkernel-qcow2-linux-3142b651ad2232cf0e375c291ee4b893c8559df5.tar.gz
kernel-qcow2-linux-3142b651ad2232cf0e375c291ee4b893c8559df5.tar.xz
kernel-qcow2-linux-3142b651ad2232cf0e375c291ee4b893c8559df5.zip
drm/ttm: use shmem_read_mapping_page
Soon tmpfs will stop supporting ->readpage and read_mapping_page(): once "tmpfs: add shmem_read_mapping_page_gfp" has been applied, this patch can be applied to ease the transition. ttm_tt_swapin() and ttm_tt_swapout() use shmem_read_mapping_page() in place of read_mapping_page(), since their swap_space has been created with shmem_file_setup(). Signed-off-by: Hugh Dickins <hughd@google.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Thomas Hellstrom <thellstrom@vmware.com> Cc: Dave Airlie <airlied@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
0 files changed, 0 insertions, 0 deletions