]> git.baikalelectronics.ru Git - kernel.git/commit
drm/pci: fold in irq_by_busid support
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Aug 2013 13:19:23 +0000 (15:19 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 Apr 2014 09:41:10 +0000 (11:41 +0200)
commite096357fdc9dd2897639555491f68877f96d851d
tree1f33c7040b03c0e67cb1cfdf8a139b304fb1230d
parent6351f68792f61ff14e5f9484776cb56bb3500174
drm/pci: fold in irq_by_busid support

This is a ums-only ioctl, and we've only ever supported ums (at least
in upstream) on pci devices. So no point in keeping that piece of
legacy logic abstracted within the drm bus driver.

To keep things work without CONFIG_PCI also add a dummy ioctl.

v2: Block the irq_by_busid ioctl for modeset drivers.

v3: Spelling/whitespace polish (Thierry)

Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_irq.c
drivers/gpu/drm/drm_pci.c
include/drm/drmP.h