Re: [PATCH] gpu: host1x: Check whether size of unpin isn't 0

From: Thierry Reding
Date: Mon Jul 09 2018 - 04:32:02 EST


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@xxxxxxxxx>
> ---
> drivers/gpu/host1x/job.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to drm/tegra/fixes, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature