]> 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)
commitd284a7155c2cadf8981f703afdeeb061fa44b95b
tree346893496046803148613d28d8d9a682f5ae9ec5
parent15e8e29df896fdbad88577824af8cf62891dda14
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