]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34e06a11632a1d30027db9d14cdf6801d04787d6
tree219b62fa44d2de83e278e0ca0cbe0be6c5aa1574
parent74331f10d801ce05f6a2ea6cd623b4dab860ded4
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