drm/gem: add shmem get/put page helpers
authorRob Clark <robdclark@gmail.com>
Wed, 7 Aug 2013 17:41:24 +0000 (13:41 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Aug 2013 00:36:04 +0000 (10:36 +1000)
commitbcc5c9d50e93bb7d949f6f38063b62dd35ca84d1
treeb1390993cb1b234f2a67a6e6dcb603472936dbbf
parent367bbd49202dd256dce1217c2f7cd0d5d1916f7b
drm/gem: add shmem get/put page helpers

Basically just extracting some code duplicated in gma500, omapdrm, udl,
and upcoming msm driver.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_gem.c
include/drm/drmP.h