drm_get_pci_dev9
Register a pci device with the drm subsystem
Usage
int drm_get_pci_dev(struct pci_dev * pdev, const struct pci_device_id * ent, struct drm_driver * driver);
Arguments
pdev
PCI device
ent
entry from the PCI ID table that matches pdev
driver
DRM device driver
Overview
Attempt to gets inter module “drm” information. If we are first then register the character device and inter module information. Try and register, if we fail to register, backout previous work.
Return
0 on success or a negative error code on failure.