diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2017-08-11 19:54:56 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-08-17 17:57:18 +0200 |
commit | ec73c4cfe7de6229e49989f7d7754a7039cd5c28 (patch) | |
tree | fd877987480f0f64a6dfdff08734d3451b878da5 /Documentation/padata.txt | |
parent | a8bc8c6510d64b759644647a03f8aec55056bded (diff) |
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 'Documentation/padata.txt')
0 files changed, 0 insertions, 0 deletions