diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-07-06 21:02:36 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-07-09 10:31:30 +0200 |
commit | ec58923215dbbeef59ee82923ee94d745f73db58 (patch) | |
tree | 40f8358325acc7055a5b55ff94c87899ea609792 /drivers/gpu/drm/tegra | |
parent | 4466b1f0e022f94a026bd700fee34bff15cdc4ef (diff) |
gpu: host1x: Check whether size of unpin isn't 0
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>
Diffstat (limited to 'drivers/gpu/drm/tegra')
0 files changed, 0 insertions, 0 deletions