]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/mm: remove invalid entry based optimization
authorChristian König <christian.koenig@amd.com>
Mon, 8 Jun 2020 13:41:58 +0000 (15:41 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 15 Jun 2020 08:51:18 +0000 (10:51 +0200)
commitd2fb716a7abd984c1f34335dbb295629da527baf
tree346893496046803148613d28d8d9a682f5ae9ec5
parent72822c3bfa8ef7c997692acd580c73c263107592
drm/mm: remove invalid entry based optimization

When the current entry is rejected as candidate for the search
it does not mean that we can abort the subtree search.

It is perfectly possible that only the alignment, but not the
size is the reason for the rejection.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nirmoy Das <nirmoy.das@amd.com>
Link: https://patchwork.freedesktop.org/patch/369394/
drivers/gpu/drm/drm_mm.c