[Intel-gfx] Intel graphics drm issue?
Daniel Vetter
daniel at ffwll.ch
Sun Oct 14 16:40:08 CEST 2012
On Sun, Oct 14, 2012 at 4:19 PM, Mark Hounschell <dmarkh at cfl.rr.com> wrote:
> OK. Applied to 3.6.2. The dmesg is attached. The message did not show up.
> I'll be here most of the day.
Ok, that at least confirms my suspicion (and yeah, I've mis-remembered
when I've merged the agp removal for gen6+, it's already all done in
3.6). But I have no idea how that could fail this way. New little
debug patch:
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index a24ffbe..7ec35c5 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -848,6 +848,11 @@ i915_pci_probe(struct pci_dev *pdev, const struct
pci_device_id *ent)
return -ENODEV;
}
+ printk("force-disabling agp on gen %i, is_ivybridge %i\n",
+ intel_info->gen, intel_info->is_ivybridge);
+
+ driver.driver_features &=
+ ~(DRIVER_USE_AGP | DRIVER_REQUIRE_AGP);
return drm_get_pci_dev(pdev, ent, &driver);
}
Yours, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list