summaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2016-12-12 15:15:17 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-05 12:40:24 (GMT)
commitb8c5e7b1241362a131a2364fd166f8c8fdd9b363 (patch)
treef388119c0a89f356aefe92ba1f7db7563c6fb38a /drivers/ide
parent2bc8fcd633d8e7d59a242eb4d86fbebb8cf7ff61 (diff)
downloadlinux-b8c5e7b1241362a131a2364fd166f8c8fdd9b363.tar.xz
drm/etnaviv: trick drm_mm into giving out a low IOVA
[ Upstream commit 3546fb0cdac25a79c89d87020566fab52b92867d ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions