Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9b394c7 authored by Sushmita Susheelendra's avatar Sushmita Susheelendra
Browse files

drm/msm: Fix drm_mm bottom_up search



The bottom up search of drm_mm hole nodes is
currently broken. It does not correctly look
for the first hole (smallest address) that fits
the allocation from the bottom up. Use an RB tree
to record hole nodes with their address as key,
so that the hole with the smallest address that
satisfies the request can be looked up.

Change-Id: Ie3020cb4e8b6db13a35d0fe5caaa8781cb6ced9f
Signed-off-by: default avatarSushmita Susheelendra <ssusheel@codeaurora.org>
parent 1f1dbe35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment