diff options
author | Thierry Reding <treding@nvidia.com> | 2015-08-24 15:47:10 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-10-30 20:40:52 +0300 |
commit | 2bcdcbfae2895764372ef973a969f395a548f1ea (patch) | |
tree | 4725c0bc83dc24e65c09d00a79f1521623a8e2d5 /fs/affs/affs.h | |
parent | c8a8067f7d66bf77a0627e0b237b0b4486862a73 (diff) | |
download | linux-2bcdcbfae2895764372ef973a969f395a548f1ea.tar.xz |
drm/tegra: dc: Request/free syncpoint at init/exit
syncpoints are resources provided by host1x and their lifetime is tied
to the host1x device. They are not properly reference counted either, so
removing the host1x device before any of its clients causes a use-after-
free error. Adding proper reference counting would be a major enterprise
so work around it for now by requesting and freeing the syncpoint at
init and exit time, respectively. The host1x device is guaranteed to be
around at this point.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'fs/affs/affs.h')
0 files changed, 0 insertions, 0 deletions