drm/via: track user->memblock mapping with idr
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Oct 2011 15:55:31 +0000 (17:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Dec 2011 23:33:20 +0000 (00:33 +0100)
commit77ee8f3825054f23b17e9c8f728f061defd86cdc
treeb4e9e7a68d77ae400adc06a3bf935b23666e9046
parent763240deb423c477b4d46c23e0b582099d4b8753
drm/via: track user->memblock mapping with idr

Massive indirection through a hashtable for a simple key->pointer
look-up actually just adds bloat.

v2: Drop the misleading comment noted 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