Home | History | Annotate | Download | only in nouveau

Lines Matching defs:drm

10 #include <drm/drm_crtc_helper.h>
11 #include <drm/drm_fb_helper.h>
21 struct nouveau_drm *drm = nouveau_drm(priv);
22 struct nvif_object *device = &drm->client.device.object;
24 if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE &&
25 drm->client.device.info.chipset >= 0x4c)
28 if (drm->client.device.info.chipset >= 0x40)
91 nouveau_vga_init(struct nouveau_drm *drm)
93 struct drm_device *dev = drm->dev;
109 vga_switcheroo_init_domain_pm_ops(drm->dev->dev, &drm->vga_pm_domain);
113 nouveau_vga_fini(struct nouveau_drm *drm)
115 struct drm_device *dev = drm->dev;
129 vga_switcheroo_fini_domain_pm_ops(drm->dev->dev);