drm/mm: WARN for unclean mm takedown
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 20:01:04 +0000 (22:01 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Jul 2013 00:01:12 +0000 (10:01 +1000)
commite5ad449be684492f4f58dc169f20926670da7cae
tree2d62da579b6ba7f7b9cbf32129591db46700fd22
parent2c54b133576fefaa54a0ab939a94af348ec54499
drm/mm: WARN for unclean mm takedown

The usual drm driver has tons of different drm_mm memory managers so the drm
error message in dmesg is pretty useless. WARN instead so that we have the full
backtrace.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_mm.c