drm/qxl: allocate small objects top-down
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 17 Oct 2019 13:26:38 +0000 (15:26 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 22 Oct 2019 09:34:03 +0000 (11:34 +0200)
commit8ee2f956c918e2de0ee85f01b94d1e0ff31b19b8
tree219b62fa44d2de83e278e0ca0cbe0be6c5aa1574
parentdb262087833f5b750d38b1423ab61e08c1a16947
drm/qxl: allocate small objects top-down

qxl uses small buffer objects for qxl commands.
Allocate them top-down to reduce fragmentation.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20191017132638.9693-6-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_object.c