Name

drm_pci_init — Register matching PCI devices with the DRM subsystem

Synopsis

int drm_pci_init (struct drm_driver * driver,
 struct pci_driver * pdriver);
 

Arguments

driver

DRM device driver

pdriver

PCI device driver

Description

Initializes a drm_device structures, registering the stubs and initializing the AGP device.

Return

0 on success or a negative error code on failure.