]> git.baikalelectronics.ru Git - kernel.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)
commit12662f1273afb8e7698cdd3ac8d2c3296386b11e
tree346893496046803148613d28d8d9a682f5ae9ec5
parent95991b346e44dcbd4da88abb0a423d6ed86162b3
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