Ok, will send a v2 version with description
From: Deucher, Alexander
Sent: Saturday, November 24, 2018 3:34 AM
To: Zhu, Rex ; Liu, Monk ;
amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm: should break if already get the best size
Please add a proper patch description.
Alex
Please add a proper patch description.
Alex
From: amd-gfx on behalf of Zhu, Rex
Sent: Friday, November 23, 2018 4:44:31 AM
To: Liu, Monk; amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm: should break if already get the best size
Tested-by: Rex Zhu
best node, key is 7381. (Loop 13 levels)
With this patch:
we don't need to go down if we found the right node that size equal to we
needed.
Best Regards
Rex
From: amd-gfx on behalf of Monk Liu
Sent: Thursday, November 22, 2018 8:33 PM
To: amd-gfx@list
Signed-off-by: Monk Liu
---
drivers/gpu/drm/drm_mm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index 3cc5fbd..369fd9b 100644
--- a/drivers/gpu/drm/drm_mm.c
+++ b/drivers/gpu/drm/drm_mm.c
@@ -318,6 +318,8 @@ static struct drm_mm_node