]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm: Skip initialising the drm_mm_node->hole_stack
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Aug 2016 15:04:11 +0000 (16:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Aug 2016 08:05:18 +0000 (10:05 +0200)
commita787900564ffc6eebbcb7086b45e04a0bc3370f0
treef7c649ef69d9604adeae7c5ceac3040a4b0ffc7c
parentdb2395eccf0829de5eb54625167f6cbc3faa1418
drm: Skip initialising the drm_mm_node->hole_stack

As we always add this to the drm_mm->hole_stack as our first operation,
we do not need to initialise the list node.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Herrmann <dh.herrmann@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1470236651-678-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_mm.c