[PATCH 03/18] drm/pci: fold in irq_by_busid support

2014-04-17 Thread Thierry Reding
On Fri, Apr 11, 2014 at 11:36:00PM +0200, Daniel Vetter wrote: [...] > +int drm_irq_by_busid(struct drm_device *dev, void *data, > + struct drm_file *file_priv) > +{ > + struct drm_irq_busid *p = data; > + > + if (drm_core_check_feature(dev, DRIVER_MODESET)) > +

[PATCH 03/18] drm/pci: fold in irq_by_busid support

2014-04-11 Thread Daniel Vetter
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 dr