summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2017-06-09 15:25:41 +0300
committerBen Skeggs <bskeggs@redhat.com>2017-06-16 14:05:04 +1000
commit876ea7be6a71614ef80c05037350a2ff986e3a80 (patch)
tree25d6c31b3a40fa63183f3bff5b04e0effefa34d5 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentfcd504e31292c9fdba07bcd44350c145bc214183 (diff)
drm/nouveau: Skip vga_fini on non-PCI device
As with vga_init, this function doesn't make sense on non-PCI devices, and the Thunderbolt check in it dereferences a NULL pointer in that case. Add some code to skip this function when the device is not a PCI device. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions