From: Tempura San <tempura.san@gmail.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: i915 module does not find 82865G if configured as secondary
Date: Sun, 09 Oct 2011 22:19:34 +0200 [thread overview]
Message-ID: <4E9201D6.9090909@gmail.com> (raw)
In-Reply-To: <20111009124430.GB2947@phenom.ffwll.local>
I have built the module with the lines removed. Now in dmesg I get these
lines, which look better to me:
[...] pci 0000:00:02.0: enabling device (0000 -> 0003)
[...] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[...] pci 0000:00:02.0: setting latency timer to 64
[...] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
But in sysfs now the i915 does no longer show up, so I cannot check if
the driver was bound correctly.
Listing /sys/bus/pci/devices/0000:00:02.0 did not show any entries and
Xorg still does not start - same error as before.
Yours,
Tempura
On Sun, 9 Oct 2011 14:44:30 +0200, Daniel Vetter wrote:
> On Sun, Oct 09, 2011 at 01:07:25PM +0200, Tempura San wrote:
>> Here is the output of lspci -nn:
>>
>> 00:00.0 Host bridge [0600]: Intel Corporation 82865G/PE/P DRAM
>> Controller/Host-Hub Interface [8086:2570] (rev 02)
>> 00:02.0 Display controller [0380]: Intel Corporation 82865G Integrated
>> Graphics Controller [8086:2572] (rev 02)
> The issue seems to be that the igd isn't a VGA pci class device anymore
> when used as secondary. The below (untested) patch should allow to still
> bind the i915 driver. Please test how far that gets us.
>
> Yours, Daniel
>
> diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
> index ad85c13..6abb1d7 100644
> --- a/drivers/gpu/drm/i915/i915_drv.c
> +++ b/drivers/gpu/drm/i915/i915_drv.c
> @@ -106,8 +106,6 @@ static struct drm_driver driver;
> extern int intel_agp_enabled;
>
> #define INTEL_VGA_DEVICE(id, info) { \
> - .class = PCI_CLASS_DISPLAY_VGA << 8, \
> - .class_mask = 0xff0000, \
> .vendor = 0x8086, \
> .device = id, \
> .subvendor = PCI_ANY_ID, \
>
next prev parent reply other threads:[~2011-10-09 20:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-08 15:25 i915 module does not find 82865G if configured as secondary Tempura San
2011-10-08 16:33 ` Felix Miata
2011-10-09 9:52 ` Tempura San
2011-10-08 19:37 ` Dave Airlie
2011-10-09 9:34 ` Tempura San
2011-10-09 10:38 ` Daniel Vetter
2011-10-09 11:07 ` Tempura San
2011-10-09 12:44 ` Daniel Vetter
2011-10-09 18:36 ` Chris Wilson
2011-10-09 20:20 ` Tempura San
2011-10-10 19:06 ` Julien Cristau
2011-10-10 20:32 ` Tempura San
2011-10-10 20:53 ` Chris Wilson
2011-10-11 8:25 ` Dave Airlie
2011-10-15 11:44 ` Tempura San
2011-10-09 20:19 ` Tempura San [this message]
2011-10-10 6:55 ` Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E9201D6.9090909@gmail.com \
--to=tempura.san@gmail.com \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox