commit | 0d91c88230fe8bd9f8d39ca2ab69cd6282e9f949 | [log] [tgz] |
---|---|---|
author | Sjoerd Simons <sjoerd@collabora.com> | Sun Feb 12 16:07:05 2023 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sun Feb 12 11:54:18 2023 -0500 |
tree | a28713512434fb5ed51b077db69e9edd916f8285 | |
parent | 78d1c3949a6f85f64b31ee8ab8240392a67ca30e [diff] |
lmb: Treat a region which is a subset as equal In various cases logical memory blocks are coalesced; As a result doing a strict check whether memory blocks are the same doesn't necessarily work as a previous addition of a given block might have been merged into a bigger block. Fix this by considering a block is already registered if it's a pure subset of one of the existing blocks. Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>