[PATCH] gpu: host1x: Check whether size of unpin isn't 0
Thierry Reding
thierry.reding at gmail.com
Mon Jul 9 08:31:52 UTC 2018
On Fri, Jul 06, 2018 at 09:02:36PM +0300, Dmitry Osipenko wrote:
> 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 at gmail.com>
> ---
> drivers/gpu/host1x/job.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to drm/tegra/fixes, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180709/38e10948/attachment.sig>
More information about the dri-devel
mailing list