Re: I815 suddenly unkown to agpgart?

2007-06-14 Thread Dave Jones
On Thu, Jun 14, 2007 at 10:01:04AM +0800, Wang Zhenyu wrote:
 > On 2007.06.14 09:34:12 +, Wang Zhenyu wrote:
 > > 
 > > Dave, after rethinking about this, I think we mixed two cases 
 > > need to be fixed here. This is the patch for this, sorry for mess
 > > it up. Meelis, could you help to test by replace my last patch with this? 
 > > 
 > 
 > oop, for 945GME like case, we should stop scan if still no detection. 
 > Updated patch here. 
 > 
 > [AGPGART] intel_agp: fix device probe
 > 
 > This patch trys to fix device probe in two cases. First we should
 > correctly detect device if integrated graphics device is not enabled
 > or exists, like an add-in card is plugged. Second on some type of intel
 > GMCH, it might have multiple graphic chip models, like 945GME case, so
 > we should be sure the detect works through the whole table.

Applied, though next time, be careful with whitespace..

$ git-applymbox -k ~/agp
1 patch(es) to process.

Applying '[AGPGART] intel_agp: fix device probe'

Adds trailing whitespace.
.dotest/patch:127:  bridge->driver = 
Space in indent is followed by a tab.
.dotest/patch:133:  bridge->driver = 
intel_agp_chipsets[i].driver;
warning: 2 lines add trailing whitespaces.


I fixed it up this time.

Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: I815 suddenly unkown to agpgart?

2007-06-13 Thread Meelis Roos
> oop, for 945GME like case, we should stop scan if still no detection. 
> Updated patch here. 
> 
> [AGPGART] intel_agp: fix device probe

Thanks, this also works on i815+ATI AGP.

-- 
Meelis Roos ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: I815 suddenly unkown to agpgart?

2007-06-13 Thread Wang Zhenyu
On 2007.06.14 09:34:12 +, Wang Zhenyu wrote:
> 
> Dave, after rethinking about this, I think we mixed two cases 
> need to be fixed here. This is the patch for this, sorry for mess
> it up. Meelis, could you help to test by replace my last patch with this? 
> 

oop, for 945GME like case, we should stop scan if still no detection. 
Updated patch here. 

[AGPGART] intel_agp: fix device probe

This patch trys to fix device probe in two cases. First we should
correctly detect device if integrated graphics device is not enabled
or exists, like an add-in card is plugged. Second on some type of intel
GMCH, it might have multiple graphic chip models, like 945GME case, so
we should be sure the detect works through the whole table.

Signed-off-by: Wang Zhenyu <[EMAIL PROTECTED]>
---
 drivers/char/agp/intel-agp.c |   97 ++
 1 files changed, 51 insertions(+), 46 deletions(-)

diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index d383168..1a83b02 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -1810,68 +1810,69 @@ static int find_gmch(u16 device)
 static const struct intel_driver_description {
unsigned int chip_id;
unsigned int gmch_chip_id;
+   unsigned int multi_gmch_chip; /* if we have more gfx chip type on this 
HB. */
char *name;
const struct agp_bridge_driver *driver;
const struct agp_bridge_driver *gmch_driver;
 } intel_agp_chipsets[] = {
-   { PCI_DEVICE_ID_INTEL_82443LX_0, 0, "440LX", &intel_generic_driver, 
NULL },
-   { PCI_DEVICE_ID_INTEL_82443BX_0, 0, "440BX", &intel_generic_driver, 
NULL },
-   { PCI_DEVICE_ID_INTEL_82443GX_0, 0, "440GX", &intel_generic_driver, 
NULL },
-   { PCI_DEVICE_ID_INTEL_82810_MC1, PCI_DEVICE_ID_INTEL_82810_IG1, "i810",
+   { PCI_DEVICE_ID_INTEL_82443LX_0, 0, 0, "440LX", &intel_generic_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82443BX_0, 0, 0, "440BX", &intel_generic_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82443GX_0, 0, 0, "440GX", &intel_generic_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82810_MC1, PCI_DEVICE_ID_INTEL_82810_IG1, 0, 
"i810",
NULL, &intel_810_driver },
-   { PCI_DEVICE_ID_INTEL_82810_MC3, PCI_DEVICE_ID_INTEL_82810_IG3, "i810",
+   { PCI_DEVICE_ID_INTEL_82810_MC3, PCI_DEVICE_ID_INTEL_82810_IG3, 0, 
"i810",
NULL, &intel_810_driver },
-   { PCI_DEVICE_ID_INTEL_82810E_MC, PCI_DEVICE_ID_INTEL_82810E_IG, "i810",
+   { PCI_DEVICE_ID_INTEL_82810E_MC, PCI_DEVICE_ID_INTEL_82810E_IG, 0, 
"i810",
NULL, &intel_810_driver },
-   { PCI_DEVICE_ID_INTEL_82815_MC, PCI_DEVICE_ID_INTEL_82815_CGC, "i815",
-   &intel_810_driver, &intel_815_driver },
-   { PCI_DEVICE_ID_INTEL_82820_HB, 0, "i820", &intel_820_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82820_UP_HB, 0, "i820", &intel_820_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82830_HB, PCI_DEVICE_ID_INTEL_82830_CGC, "830M",
+   { PCI_DEVICE_ID_INTEL_82815_MC, PCI_DEVICE_ID_INTEL_82815_CGC, 0, 
"i815",
+   &intel_815_driver, &intel_810_driver },
+   { PCI_DEVICE_ID_INTEL_82820_HB, 0, 0, "i820", &intel_820_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82820_UP_HB, 0, 0, "i820", &intel_820_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82830_HB, PCI_DEVICE_ID_INTEL_82830_CGC, 0, 
"830M",
&intel_830mp_driver, &intel_830_driver },
-   { PCI_DEVICE_ID_INTEL_82840_HB, 0, "i840", &intel_840_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82845_HB, 0, "845G", &intel_845_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82845G_HB, PCI_DEVICE_ID_INTEL_82845G_IG, "830M",
+   { PCI_DEVICE_ID_INTEL_82840_HB, 0, 0, "i840", &intel_840_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82845_HB, 0, 0, "845G", &intel_845_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82845G_HB, PCI_DEVICE_ID_INTEL_82845G_IG, 0, 
"830M",
&intel_845_driver, &intel_830_driver },
-   { PCI_DEVICE_ID_INTEL_82850_HB, 0, "i850", &intel_850_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82855PM_HB, 0, "855PM", &intel_845_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82855GM_HB, PCI_DEVICE_ID_INTEL_82855GM_IG, 
"855GM",
+   { PCI_DEVICE_ID_INTEL_82850_HB, 0, 0, "i850", &intel_850_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82855PM_HB, 0, 0, "855PM", &intel_845_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82855GM_HB, PCI_DEVICE_ID_INTEL_82855GM_IG, 0, 
"855GM",
&intel_845_driver, &intel_830_driver },
-   { PCI_DEVICE_ID_INTEL_82860_HB, 0, "i860", &intel_860_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82865_HB, PCI_DEVICE_ID_INTEL_82865_IG, "865",
+   { PCI_DEVICE_ID_INTEL_82860_HB, 0, 0, "i860", &intel_860_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82865_HB, PCI_DEVICE_ID_INTEL_82865_IG, 0, "865",
&intel_845_driver, &intel_830_driver },
-   { PCI_DEVICE_ID_INTEL_82875_HB, 0, "i875", &intel_845_driver, NULL },

Re: I815 suddenly unkown to agpgart?

2007-06-13 Thread Wang Zhenyu
On 2007.06.13 14:22:40 +, Dave Jones wrote:
> 
> Oops :)
> I'll merge this, and get it to Linus today.
> Don't forget to add a Signed-off-by: for future patches.
> 

Dave, after rethinking about this, I think we mixed two cases 
need to be fixed here. This is the patch for this, sorry for mess
it up. Meelis, could you help to test by replace my last patch with this? 

Thanks

---
[PATCH] [AGPGART] intel_agp: fix device probe

This patch trys to fix device probe in two cases. First we should
correctly detect device if integrated graphics device is not enabled
or exists, like an add-in card is plugged. Second on some type of intel
GMCH, it might have multiple graphic chip models, like 945GME case, so
we should be sure the detect works through the whole table.

Signed-off-by: Wang Zhenyu <[EMAIL PROTECTED]>
---
 drivers/char/agp/intel-agp.c |   97 ++
 1 files changed, 51 insertions(+), 46 deletions(-)

diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index d383168..bf5a602 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -1810,68 +1810,69 @@ static int find_gmch(u16 device)
 static const struct intel_driver_description {
unsigned int chip_id;
unsigned int gmch_chip_id;
+   unsigned int multi_gmch_chip;
char *name;
const struct agp_bridge_driver *driver;
const struct agp_bridge_driver *gmch_driver;
 } intel_agp_chipsets[] = {
-   { PCI_DEVICE_ID_INTEL_82443LX_0, 0, "440LX", &intel_generic_driver, 
NULL },
-   { PCI_DEVICE_ID_INTEL_82443BX_0, 0, "440BX", &intel_generic_driver, 
NULL },
-   { PCI_DEVICE_ID_INTEL_82443GX_0, 0, "440GX", &intel_generic_driver, 
NULL },
-   { PCI_DEVICE_ID_INTEL_82810_MC1, PCI_DEVICE_ID_INTEL_82810_IG1, "i810",
+   { PCI_DEVICE_ID_INTEL_82443LX_0, 0, 0, "440LX", &intel_generic_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82443BX_0, 0, 0, "440BX", &intel_generic_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82443GX_0, 0, 0, "440GX", &intel_generic_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82810_MC1, PCI_DEVICE_ID_INTEL_82810_IG1, 0, 
"i810",
NULL, &intel_810_driver },
-   { PCI_DEVICE_ID_INTEL_82810_MC3, PCI_DEVICE_ID_INTEL_82810_IG3, "i810",
+   { PCI_DEVICE_ID_INTEL_82810_MC3, PCI_DEVICE_ID_INTEL_82810_IG3, 0, 
"i810",
NULL, &intel_810_driver },
-   { PCI_DEVICE_ID_INTEL_82810E_MC, PCI_DEVICE_ID_INTEL_82810E_IG, "i810",
+   { PCI_DEVICE_ID_INTEL_82810E_MC, PCI_DEVICE_ID_INTEL_82810E_IG, 0, 
"i810",
NULL, &intel_810_driver },
-   { PCI_DEVICE_ID_INTEL_82815_MC, PCI_DEVICE_ID_INTEL_82815_CGC, "i815",
-   &intel_810_driver, &intel_815_driver },
-   { PCI_DEVICE_ID_INTEL_82820_HB, 0, "i820", &intel_820_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82820_UP_HB, 0, "i820", &intel_820_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82830_HB, PCI_DEVICE_ID_INTEL_82830_CGC, "830M",
+   { PCI_DEVICE_ID_INTEL_82815_MC, PCI_DEVICE_ID_INTEL_82815_CGC, 0, 
"i815",
+   &intel_815_driver, &intel_810_driver },
+   { PCI_DEVICE_ID_INTEL_82820_HB, 0, 0, "i820", &intel_820_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82820_UP_HB, 0, 0, "i820", &intel_820_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82830_HB, PCI_DEVICE_ID_INTEL_82830_CGC, 0, 
"830M",
&intel_830mp_driver, &intel_830_driver },
-   { PCI_DEVICE_ID_INTEL_82840_HB, 0, "i840", &intel_840_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82845_HB, 0, "845G", &intel_845_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82845G_HB, PCI_DEVICE_ID_INTEL_82845G_IG, "830M",
+   { PCI_DEVICE_ID_INTEL_82840_HB, 0, 0, "i840", &intel_840_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82845_HB, 0, 0, "845G", &intel_845_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82845G_HB, PCI_DEVICE_ID_INTEL_82845G_IG, 0, 
"830M",
&intel_845_driver, &intel_830_driver },
-   { PCI_DEVICE_ID_INTEL_82850_HB, 0, "i850", &intel_850_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82855PM_HB, 0, "855PM", &intel_845_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82855GM_HB, PCI_DEVICE_ID_INTEL_82855GM_IG, 
"855GM",
+   { PCI_DEVICE_ID_INTEL_82850_HB, 0, 0, "i850", &intel_850_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82855PM_HB, 0, 0, "855PM", &intel_845_driver, 
NULL },
+   { PCI_DEVICE_ID_INTEL_82855GM_HB, PCI_DEVICE_ID_INTEL_82855GM_IG, 0, 
"855GM",
&intel_845_driver, &intel_830_driver },
-   { PCI_DEVICE_ID_INTEL_82860_HB, 0, "i860", &intel_860_driver, NULL },
-   { PCI_DEVICE_ID_INTEL_82865_HB, PCI_DEVICE_ID_INTEL_82865_IG, "865",
+   { PCI_DEVICE_ID_INTEL_82860_HB, 0, 0, "i860", &intel_860_driver, NULL },
+   { PCI_DEVICE_ID_INTEL_82865_HB, PCI_DEVICE_ID_INTEL_82865_IG, 0, "865",
&intel_845_driver, &intel_830_driver },
-   { PCI_DEVICE_ID_INTEL_82875_HB, 0, "i875", &intel_845_driver, NULL },
-   { PCI

Re: I815 suddenly unkown to agpgart?

2007-06-13 Thread Dave Jones
On Thu, Jun 14, 2007 at 02:00:39AM +0800, Wang Zhenyu wrote:
 > On 2007.06.13 12:15:13 +, Dave Jones wrote:
 > >  > [AGPGART] intel_agp: use table for device probe
 > >  > 
 > > Oh, we have this check in find_gmch ..
 > > 
 > > if (gmch_device && PCI_FUNC(gmch_device->devfn) != 0) {
 > > ^
 > > 
 > > Which isn't going to work, as Meelis has a gmch on device0, slot0, devfn1.
 > > Meelis, does it start working again if you change that to just
 > > 
 > >if (gmch_Device) {
 > 
 > No, the problem for i815 is that it has a config with no integrated gfx.
 > Sorry I missed it. Meelis, pls test with this patch, which adds a table 
 > item for this, and fixes wrong driver order within origin i815 driver with 
 > IGD.

Oops :)
I'll merge this, and get it to Linus today.
Don't forget to add a Signed-off-by: for future patches.

thanks,

Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: I815 suddenly unkown to agpgart?

2007-06-13 Thread Meelis Roos
> No, the problem for i815 is that it has a config with no integrated gfx.
> Sorry I missed it. Meelis, pls test with this patch, which adds a table 
> item for this, and fixes wrong driver order within origin i815 driver with 
> IGD.

Thanks, this fixes it. dmesg is fine and X log shows it's using AGP 
again.

-- 
Meelis Roos ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: I815 suddenly unkown to agpgart?

2007-06-13 Thread Meelis Roos
> Oh, we have this check in find_gmch ..
> 
> if (gmch_device && PCI_FUNC(gmch_device->devfn) != 0) {
> ^
> 
> Which isn't going to work, as Meelis has a gmch on device0, slot0, devfn1.
> Meelis, does it start working again if you change that to just
> 
>   if (gmch_Device) {
> 
> ?

Still the same.

-- 
Meelis Roos ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: I815 suddenly unkown to agpgart?

2007-06-13 Thread Wang Zhenyu
On 2007.06.13 12:15:13 +, Dave Jones wrote:
>  > [AGPGART] intel_agp: use table for device probe
>  > 
> Oh, we have this check in find_gmch ..
> 
> if (gmch_device && PCI_FUNC(gmch_device->devfn) != 0) {
> ^
> 
> Which isn't going to work, as Meelis has a gmch on device0, slot0, devfn1.
> Meelis, does it start working again if you change that to just
> 
>   if (gmch_Device) {

No, the problem for i815 is that it has a config with no integrated gfx.
Sorry I missed it. Meelis, pls test with this patch, which adds a table 
item for this, and fixes wrong driver order within origin i815 driver with IGD.

Thanks.

---
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index d383168..6d50a37 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -1824,7 +1824,8 @@ static const struct intel_driver_description {
{ PCI_DEVICE_ID_INTEL_82810E_MC, PCI_DEVICE_ID_INTEL_82810E_IG, "i810",
NULL, &intel_810_driver },
{ PCI_DEVICE_ID_INTEL_82815_MC, PCI_DEVICE_ID_INTEL_82815_CGC, "i815",
-   &intel_810_driver, &intel_815_driver },
+   &intel_815_driver, &intel_810_driver },
+   { PCI_DEVICE_ID_INTEL_82815_MC, 0, "i815", &intel_815_driver, NULL },
{ PCI_DEVICE_ID_INTEL_82820_HB, 0, "i820", &intel_820_driver, NULL },
{ PCI_DEVICE_ID_INTEL_82820_UP_HB, 0, "i820", &intel_820_driver, NULL },
{ PCI_DEVICE_ID_INTEL_82830_HB, PCI_DEVICE_ID_INTEL_82830_CGC, "830M",
---  
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: I815 suddenly unkown to agpgart?

2007-06-13 Thread Dave Jones
On Wed, Jun 13, 2007 at 12:01:52PM -0400, Dave Jones wrote:
 > On Wed, Jun 13, 2007 at 06:07:42PM +0300, Meelis Roos wrote:
 >  > agpgart: Unsupported Intel chipset(device id: 1130)
 > 
 > This is likely due to 9614ece14f23f2ce54a076c471aec9c91e51e79c
 > 
 > [AGPGART] intel_agp: use table for device probe
 > 
 > Fixed issues noted by Christoph Hellwig, and I changed device table
 > scan a bit to allow the case that some models of graphics chips may
 > have same host bridge type. This type of chip will be added in the 
 > future.
 > 
 > This patch cleans up device probe function. Eric Anholt was the original 
 > author.
 > 
 > Eric ?

Oh, we have this check in find_gmch ..

if (gmch_device && PCI_FUNC(gmch_device->devfn) != 0) {
^

Which isn't going to work, as Meelis has a gmch on device0, slot0, devfn1.
Meelis, does it start working again if you change that to just

if (gmch_Device) {

?

Dave

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: I815 suddenly unkown to agpgart?

2007-06-13 Thread Dave Jones
On Wed, Jun 13, 2007 at 06:07:42PM +0300, Meelis Roos wrote:
 > agpgart: Unsupported Intel chipset(device id: 1130)

This is likely due to 9614ece14f23f2ce54a076c471aec9c91e51e79c

[AGPGART] intel_agp: use table for device probe

Fixed issues noted by Christoph Hellwig, and I changed device table
scan a bit to allow the case that some models of graphics chips may
have same host bridge type. This type of chip will be added in the future.

This patch cleans up device probe function. Eric Anholt was the original 
author.


Eric ?

Dave



 > This came with todays 2.6.22-rc4+git on my Intel 815 chipset PC. lspci 
 > -vvvn and full dmesg are below.
 > 
 > 00:00.0 0600: 8086:1130 (rev 02)
 >  Subsystem: 8086:4532
 >  Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
 > Stepping- SERR+ FastB2B-
 >  Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-  SERR-   Latency: 0
 >  Region 0: Memory at f800 (32-bit, prefetchable) [size=64M]
 >  Capabilities: [88] Vendor Specific Information
 >  Capabilities: [a0] AGP version 2.0
 >  Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 
 > 64bit- FW- AGP3- Rate=x1,x2
 >  Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- 
 > Rate=
 > 
 > 00:01.0 0604: 8086:1131 (rev 02) (prog-if 00 [Normal decode])
 >  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
 > Stepping- SERR+ FastB2B-
 >  Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-  SERR-   Latency: 32
 >  Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
 >  I/O behind bridge: d000-dfff
 >  Memory behind bridge: ff90-ff9f
 >  Prefetchable memory behind bridge: eea0-f6af
 >  Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- 
 >   BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
 > 
 > 
 >
 > 02:00.0 0300: 1002:5246 (prog-if 00 [VGA])
 >  Subsystem: 1002:0008
 >  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
 > Stepping+ SERR- FastB2B-
 >  Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
 > SERR-   Latency: 32 (2000ns min), Cache Line Size: 32 bytes
 >  Interrupt: pin A routed to IRQ 11
 >  Region 0: Memory at f000 (32-bit, prefetchable) [size=64M]
 >  Region 1: I/O ports at d800 [size=256]
 >  Region 2: Memory at ff9fc000 (32-bit, non-prefetchable) [size=16K]
 >  Expansion ROM at ff9c [disabled] [size=128K]
 >  Capabilities: [50] AGP version 2.0
 >  Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 
 > 64bit- FW- AGP3- Rate=x1,x2
 >  Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- 
 > Rate=
 >  Capabilities: [5c] Power Management version 1
 >  Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA 
 > PME(D0-,D1-,D2-,D3hot-,D3cold-)
 >  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 > 
 > Linux version 2.6.22-rc4-ga0e1d1d0 ([EMAIL PROTECTED]) (gcc version 4.1.3 
 > 20070601 (prerelease) (Debian 4.1.2-12)) #380 PREEMPT Wed Jun 13 10:15:07 
 > EEST 2007
 > BIOS-provided physical RAM map:
 > 
 > Linux agpgart interface v0.102 (c) Dave Jones
 > agpgart: Unsupported Intel chipset(device id: 1130)


-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


I815 suddenly unkown to agpgart?

2007-06-13 Thread Meelis Roos
agpgart: Unsupported Intel chipset(device id: 1130)

This came with todays 2.6.22-rc4+git on my Intel 815 chipset PC. lspci 
-vvvn and full dmesg are below.

00:00.0 0600: 8086:1130 (rev 02)
Subsystem: 8086:4532
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 

00:01.0 0604: 8086:1131 (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- 
Reset- FastB2B-

00:1e.0 0604: 8086:244e (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- 
Reset- FastB2B-

00:1f.0 0601: 8086:2440 (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- 
Capabilities: [5c] Power Management version 1
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Linux version 2.6.22-rc4-ga0e1d1d0 ([EMAIL PROTECTED]) (gcc version 4.1.3 
20070601 (prerelease) (Debian 4.1.2-12)) #380 PREEMPT Wed Jun 13 10:15:07 EEST 
2007
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000e - 0010 (reserved)
 BIOS-e820: 0010 - 1ffc (usable)
 BIOS-e820: 1ffc - 1fff8000 (ACPI data)
 BIOS-e820: 1fff8000 - 2000 (ACPI NVS)
 BIOS-e820: ffb8 - ffc0 (reserved)
 BIOS-e820: fff0 - 0001 (reserved)
511MB LOWMEM available.
Entering add_active_range(0, 0, 131008) 0 entries of 256 used
Zone PFN ranges:
  DMA 0 -> 4096
  Normal   4096 ->   131008
early_node_map[1] active PFN ranges
0:0 ->   131008
On node 0 totalpages: 131008
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 991 pages used for memmap
  Normal zone: 125921 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP 000FF980, 0014 (r0 AMI   )
ACPI: RSDT 1FFF, 0028 (r1 D815EA D815EEA2 20021106 MSFT 1011)
ACPI: FACP 1FFF1000, 0074 (r1 D815EA EA81510A 20021106 MSFT 1011)
ACPI: DSDT 1FFE, 30E4 (r1 D815E2 EA81520A   23 MSFT  10B)
ACPI: FACS 1FFF8000, 0040
ACPI: PM-Timer IO Port: 0x408
Allocating PCI resources starting at 3000 (gap: 2000:dfb8)
Built 1 zonelists.  Total pages: 129985
Kernel command line: root=/dev/sda3 ro nmi_watchdog=1 lapic
Found and enabled local APIC!
mapped APIC to d000 (fee0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c040b000 soft=c040a000
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 897.128 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 515644k/524032k available (1916k kernel code, 7956k reserved, 996k 
data, 172k init, 0k highmem)
virtual kernel memory layout:
fixmap  : 0xfffb7000 - 0xf000   ( 288 kB)
vmalloc : 0xe080 - 0xfffb5000   ( 503 MB)
lowmem  : 0xc000 - 0xdffc   ( 511 MB)
  .init : 0xc03da000 - 0xc0405000   ( 172 kB)
  .data : 0xc02df0dd - 0xc03d84c4   ( 996 kB)
  .text : 0xc010 - 0xc02df0dd   (1916 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1795.56 BogoMIPS (lpj=3591124)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff     
 
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After all inits, caps: 0383fbff   0040  
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to e000.
CPU: Intel Celeron (Coppermine) stepping 0a
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ACPI: setting ELCR to 0200 (from 0e00)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfda95, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (:00)
PCI