HomeFreeBSD

Add a specialized function for DRM drivers to register themselves.

Description

Add a specialized function for DRM drivers to register themselves.

Such drivers attach to a vgapci bus rather than directly to a pci bus. For
the rest of the LinuxKPI to work correctly in this case, we override the
vgapci bus' ivars with those of the grandparent.

Reviewed by: hselasky
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D11932

Details

Provenance
markjAuthored on
Reviewer
hselasky
Differential Revision
D11932: Add LinuxKPI support for attaching DRM drivers
Parents
rS322391: Micro-optimize kmem_unback().
Branches
Unknown
Tags
Unknown