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 10:16:26 +1000 |
commit | 06e78edff18195f8e416e6961fea7d88118a5c63 (patch) | |
tree | 4caa1d1f5463b5d760c0cc94fb54c1ae13ef68d9 /include/drm/drm_mm.h | |
parent | 78af329a85bee7dd4671c67abfecde37b0057b10 (diff) |
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 'include/drm/drm_mm.h')
0 files changed, 0 insertions, 0 deletions