diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-12-12 16:15:17 +0100 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-01-11 10:38:45 +0100 |
commit | 3546fb0cdac25a79c89d87020566fab52b92867d (patch) | |
tree | a2e5b1a5ad04f0fd72e9d7ee4d8a3973565eb449 /net/8021q | |
parent | 7ce7d89f48834cefece7804d38fc5d85382edf77 (diff) |
drm/etnaviv: trick drm_mm into giving out a low IOVA
After rollover of the IOVA space, we want to get a low IOVA address,
otherwise the the games we play by remembering the last IOVA are
pointless. When we search for a free hole with DRM_MM_SEARCH_DEFAULT,
drm_mm will pop the next entry from the free holes stack, which will
likely be a high IOVA. By using DRM_MM_SEARCH_BELOW we can trick
drm_mm into reversing the search and provide us with a low IOVA.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Wladimir van der Laan <laanwj@gmail.com>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions