{
struct inteldrm_softc *dev_priv = v;
struct rasops_info *ri = &dev_priv->ro;
- struct drm_device *dev = &dev_priv->drm;
rasops_show_screen(ri, dev_priv->switchcookie, 0, NULL, NULL);
intel_fbdev_restore_mode(dev_priv);
{
struct inteldrm_softc *dev_priv = v;
struct rasops_info *ri = &dev_priv->ro;
- struct drm_device *dev = &dev_priv->drm;
if (cookie == ri->ri_active)
return;
struct drm_device *dev;
struct pci_attach_args *pa = aux;
const struct pci_device_id *id;
- struct intel_device_info *info, *device_info;
- struct intel_runtime_info *runtime;
+ struct intel_device_info *info;
extern int vga_console_attached;
int mmio_bar, mmio_size, mmio_type;
- int ret;
dev_priv->pa = pa;
dev_priv->pc = pa->pa_pc;
void
inteldrm_forcedetach(struct inteldrm_softc *dev_priv)
{
+#ifdef notyet
struct pci_softc *psc = (struct pci_softc *)dev_priv->sc_dev.dv_parent;
pcitag_t tag = dev_priv->tag;
+#endif
extern int vga_console_attached;
if (dev_priv->primary) {
struct rasops_info *ri = &dev_priv->ro;
struct wsemuldisplaydev_attach_args aa;
const struct pci_device_id *id = dev_priv->id;
- struct drm_device *dev = &dev_priv->drm;
int orientation_quirk;
if (inteldrm_refcnt == 0) {
void
inteldrm_init_backlight(struct inteldrm_softc *dev_priv)
{
- struct drm_device *dev = &dev_priv->drm;
struct wsdisplay_param dp;
dp.param = WSDISPLAYIO_PARAM_BRIGHTNESS;