diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-03-30 12:40:50 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-04-20 13:58:40 +0300 |
commit | 7f340a26f4769a49fb51bfc023ca651dfe16042e (patch) | |
tree | 0868427c45f430f785e44c430e5d91bbe532c073 /drivers/platform/Kconfig | |
parent | e34274fd2aa84fb4b609e26af18507449e8feaca (diff) | |
download | linux-7f340a26f4769a49fb51bfc023ca651dfe16042e.tar.xz |
drm/vgem: Move get_pages to gem_create
vgem doesn't have a shrinker or anything like that and drops backing
storage only at object_free time. There's no use in trying to be
clever and allocating backing storage delayed, it only causes trouble
by requiring locking.
Instead grab pages when we allocate the object right away.
v2: Fix compiling.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459330852-27668-12-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/platform/Kconfig')
0 files changed, 0 insertions, 0 deletions