---
name: "drm_pci_init"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_pci_init"
---

# drm\_pci\_init(9)

Register matching PCI devices with the DRM subsystem

## 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.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
