diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-22 08:36:14 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-12-27 12:37:10 +0100 |
commit | 2bd966d106e34e2daedad8eb109d48825ba8b655 (patch) | |
tree | c3d53eb47e80d78f7cafc77691c4588829f5af3f /virt | |
parent | 7886692a58045c5e6953c2efb742bb389d31484d (diff) | |
download | linux-2bd966d106e34e2daedad8eb109d48825ba8b655.tar.bz2 |
drm: kselftest for drm_mm_replace_node()
Reuse drm_mm_insert_node() with a temporary node to exercise
drm_mm_replace_node(). We use the previous test in order to exercise the
various lists following replacement.
v2: Check that we copy across the important (user) details of the node.
The internal details (such as lists and hole tracking) we hope to detect
errors by exercise.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161222083641.2691-12-chris@chris-wilson.co.uk
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions