summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/gem.c
diff options
context:
space:
mode:
authorThierry Reding2014-10-21 14:00:09 +0200
committerThierry Reding2014-11-13 16:18:31 +0100
commit8fc8f7da9719c2d28fb32cdd74af9b6cd9bac20a (patch)
treef1d74b944c4205cd3941e4507d4aeb484f186718 /drivers/gpu/drm/tegra/gem.c
parentdrm/tegra: dc: Universal plane support (diff)
downloadkernel-qcow2-linux-8fc8f7da9719c2d28fb32cdd74af9b6cd9bac20a.tar.gz
kernel-qcow2-linux-8fc8f7da9719c2d28fb32cdd74af9b6cd9bac20a.tar.xz
kernel-qcow2-linux-8fc8f7da9719c2d28fb32cdd74af9b6cd9bac20a.zip
drm/tegra: Enable the hotplug interrupt only when necessary
The hotplug handling needs access to the DRM device, which only appears at ->init() time. Disable interrupts up until that time. Similarly, when an output is removed, disable the hotplug interrupt again because the DRM device (and with it the hotplug infrastructure) is going away. Also make sure to only access the DRM device if it's available. Given the above change for the hotplug interrupt this should really never happen, but the extra check doesn't hurt either. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/gem.c')
0 files changed, 0 insertions, 0 deletions