drm/via: use drm_mm instead of drm_sman
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Oct 2011 20:21:13 +0000 (22:21 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Dec 2011 23:33:22 +0000 (00:33 +0100)
commit977b4f6edd7a960dd80c1a614a7644068f866c5b
treefd88f3a302ccfd38f521548db97b36135c96d602
parent94e895321bade1bafbcb2af1ef1e79b01e018012
drm/via: use drm_mm instead of drm_sman

To make the transition in a piece-wise and bisectable way possible,
I've hijacked the ->owner_list from drm_sman. While transitioning, the
list_add was done by the driver, while the list_del was still done by
the dying sman code.

Now that we are in full control of ->owner_list, do the list_del
ourselves.

v2: Better explain the list_del trickery as suggested by Chris Wilson.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/via/via_drv.h
drivers/gpu/drm/via/via_map.c
drivers/gpu/drm/via/via_mm.c