diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-07-27 16:21:27 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-07 02:16:26 +0200 |
commit | 06e78edff18195f8e416e6961fea7d88118a5c63 (patch) | |
tree | 4caa1d1f5463b5d760c0cc94fb54c1ae13ef68d9 /drivers/gpu/drm/drm_mm.c | |
parent | drm/ttm: replace drm_mm_pre_get() by direct alloc (diff) | |
download | linux-06e78edff18195f8e416e6961fea7d88118a5c63.tar.xz linux-06e78edff18195f8e416e6961fea7d88118a5c63.zip |
drm/i915: pre-alloc instead of drm_mm search/get_block
i915 is the last user of the weird search+get_block drm_mm API. Convert it
to an explicit kmalloc()+insert_node(). This drops the last user of the
node-cache in drm_mm. We can remove it now in a follow-up patch.
v2:
- simplify error path in i915_setup_compression()
v3:
- simplify error path even more
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_mm.c')
0 files changed, 0 insertions, 0 deletions