summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2017-08-11 19:54:56 +0200
committerThierry Reding <treding@nvidia.com>2017-08-17 17:57:18 +0200
commitec73c4cfe7de6229e49989f7d7754a7039cd5c28 (patch)
treefd877987480f0f64a6dfdff08734d3451b878da5 /drivers/gpu/host1x
parenta8bc8c6510d64b759644647a03f8aec55056bded (diff)
downloadlinux-ec73c4cfe7de6229e49989f7d7754a7039cd5c28.tar.bz2
drm/tegra: Prevent BOs from being freed during job submission
Since DRM IOCTL's are lockless, there is a chance that BOs could be released while a job submission is in progress. To avoid that, keep the GEM reference until the job has been pinned, part of which will be to take another reference. v2: remove redundant check and avoid memory leak Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x')
0 files changed, 0 insertions, 0 deletions