Files
linux/drivers/gpu/host1x
Dmitry Osipenko d3f205d2d3 gpu: host1x: Check whether size of unpin isn't 0
[ Upstream commit ec58923215 ]

Only gather pins are mapped by the Host1x driver, regular BO relocations
are not. Check whether size of unpin isn't 0, otherwise IOVA allocation at
0x0 could be erroneously released.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-24 13:09:14 +02:00
..
2017-04-05 18:11:43 +02:00
2013-04-22 12:32:46 +02:00
2017-05-18 10:41:28 -04:00
2017-06-15 13:58:43 +02:00