Searched hist:b95800eeef09f4853904ec4e926d098f1ca4698a (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | dc.h | diff b95800eeef09f4853904ec4e926d098f1ca4698a Wed Nov 08 06:40:54 CST 2017 Thierry Reding <treding@nvidia.com> drm/tegra: dc: Register debugfs in ->late_register()
The ->late_register() and ->early_unregister() callbacks are called at the right time to make sure userspace only accesses interfaces when it should. Move debugfs registration and unregistration to these callback functions to avoid potential races with userspace.
Signed-off-by: Thierry Reding <treding@nvidia.com>
|
H A D | dc.c | diff b95800eeef09f4853904ec4e926d098f1ca4698a Wed Nov 08 06:40:54 CST 2017 Thierry Reding <treding@nvidia.com> drm/tegra: dc: Register debugfs in ->late_register()
The ->late_register() and ->early_unregister() callbacks are called at the right time to make sure userspace only accesses interfaces when it should. Move debugfs registration and unregistration to these callback functions to avoid potential races with userspace.
Signed-off-by: Thierry Reding <treding@nvidia.com>
|