diff options
author | Rob Clark <robdclark@gmail.com> | 2013-08-07 13:41:23 -0400 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-21 19:13:42 +0900 |
commit | 7bde9c1f036e959cb656f1a8d98bd7be8e5d6614 (patch) | |
tree | c3b78bcb64593f7b336a2fac8054d206bd9730dc /drivers/cpufreq/cpufreq_powersave.c | |
parent | 3f025fb17e909c57bc79f0ddc6f8ba63ad8f1bc0 (diff) | |
download | linux-3.10-7bde9c1f036e959cb656f1a8d98bd7be8e5d6614.tar.gz linux-3.10-7bde9c1f036e959cb656f1a8d98bd7be8e5d6614.tar.bz2 linux-3.10-7bde9c1f036e959cb656f1a8d98bd7be8e5d6614.zip |
drm/gem: add drm_gem_create_mmap_offset_size()
Variant of drm_gem_create_mmap_offset() which doesn't make the
assumption that virtual size and physical size (obj->size) are the same.
This is needed in omapdrm to deal with tiled buffers. And lets us get
rid of a duplicated and slightly modified version of
drm_gem_create_mmap_offset() in omapdrm.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_powersave.c')
0 files changed, 0 insertions, 0 deletions