commit | 13dfe1286d1ea1af4c9330b039c2316d0d92c484 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Tue Aug 12 13:54:37 2014 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Sep 15 22:22:13 2014 +1000 |
tree | ab5ef2e11438b384b9f1b6c394563ac53e1fcc93 | |
parent | d7bda18c9102b65078c132fd7d7ffd835058f021 [diff] |
drm/nouveau/core/mm: fill in holes with "allocated" nodes The allocation algorithm doesn't expect there to be holes in the mm, which causes its alignment/cutoff calculations to choke (and go negative) when encountering the last chunk of a block before a hole. The least expensive solution is to simply fill in any holes with nodes that are pre-marked as being allocated. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>