* PATCH: cyber2010 framebuffer on ARM Netwinder fix...
[not found] ` <20070105152224.GQ15109@deprecation.cyrius.com>
@ 2007-01-09 17:26 ` Woody Suwalski
2007-01-20 0:38 ` Stuart Anderson
0 siblings, 1 reply; 2+ messages in thread
From: Woody Suwalski @ 2007-01-09 17:26 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: Martin Michlmayr, Stuart Anderson, rmk, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]
Martin Michlmayr wrote:
> * Stuart Anderson <anderson@netsweng.com> [2007-01-05 09:40]:
>
>> shark w/o any changes to the kernel. I dug a bit further, both in the
>> driver, and in the HW spec for the shark, and discovered that the video
>> chip on the shark is connected via the VL bus, not the PCI bus. The
>> shark does have a VL-PCI bridge, but there doesn't seem to be anything
>> connected to the PCI side of it (which matches what lspci says). The
>> function containing the patch in question doesn't appear to even run on
>> the shark (there is a VL version that is #ifdef SHARK'd), so I'd have
>> to say the patch would have not impact on the shark.
>>
>
> OK, good news. Thanks for checking. Woody, can you submit the patch
> (with proper intentation) to linux-fbdev-devel@lists.sourceforge.net
>
As suggested - I am sending this patch to fbdev-devel....
The Netwinder machines with Cyber2010 crash badly when starting Xserver.
The workaround is to disable pci burst option for this revision of video
chip.
Thanks, Woody
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: netwinder_cyber2010_burst.patch --]
[-- Type: text/x-patch; name="netwinder_cyber2010_burst.patch", Size: 1271 bytes --]
The Netwinder machines with Cyber2010 crash badly when starting Xserver.
The workaround is to disable pci burst option for this revision of video chip.
Signed-off-by: Woody Suwalski <woodys@xandros.com>
---
--- a/drivers/video/cyber2000fb.c 2006-11-29 16:57:37.000000000 -0500
+++ b/drivers/video/cyber2000fb.c 2007-01-09 12:20:01.000000000 -0500
@@ -1539,16 +1539,24 @@ static int cyberpro_pci_enable_mmio(stru
/*
* Allow the CyberPro to accept PCI burst accesses
*/
- val = cyber2000_grphr(EXT_BUS_CTL, cfb);
- if (!(val & EXT_BUS_CTL_PCIBURST_WRITE)) {
- printk(KERN_INFO "%s: enabling PCI bursts\n", cfb->fb.fix.id);
-
- val |= EXT_BUS_CTL_PCIBURST_WRITE;
-
- if (cfb->id == ID_CYBERPRO_5000)
- val |= EXT_BUS_CTL_PCIBURST_READ;
-
- cyber2000_grphw(EXT_BUS_CTL, val, cfb);
+ if (cfb->id == ID_CYBERPRO_2010)
+ {
+ printk(KERN_INFO "%s: NOT enabling PCI bursts\n", cfb->fb.fix.id);
+ }
+ else
+ {
+ val = cyber2000_grphr(EXT_BUS_CTL, cfb);
+ if (!(val & EXT_BUS_CTL_PCIBURST_WRITE)) {
+ printk(KERN_INFO "%s: enabling PCI bursts\n",
+ cfb->fb.fix.id);
+
+ val |= EXT_BUS_CTL_PCIBURST_WRITE;
+
+ if (cfb->id == ID_CYBERPRO_5000)
+ val |= EXT_BUS_CTL_PCIBURST_READ;
+
+ cyber2000_grphw(EXT_BUS_CTL, val, cfb);
+ }
}
return 0;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: cyber2010 framebuffer on ARM Netwinder fix...
2007-01-09 17:26 ` PATCH: cyber2010 framebuffer on ARM Netwinder fix Woody Suwalski
@ 2007-01-20 0:38 ` Stuart Anderson
0 siblings, 0 replies; 2+ messages in thread
From: Stuart Anderson @ 2007-01-20 0:38 UTC (permalink / raw)
To: Woody Suwalski; +Cc: linux-fbdev-devel, Martin Michlmayr, rmk, linux-kernel
Just wondering, did the rtc change for the arm get sent up also?
On Tue, 9 Jan 2007, Woody Suwalski wrote:
> Martin Michlmayr wrote:
>> * Stuart Anderson <anderson@netsweng.com> [2007-01-05 09:40]:
>>
>>> shark w/o any changes to the kernel. I dug a bit further, both in the
>>> driver, and in the HW spec for the shark, and discovered that the video
>>> chip on the shark is connected via the VL bus, not the PCI bus. The
>>> shark does have a VL-PCI bridge, but there doesn't seem to be anything
>>> connected to the PCI side of it (which matches what lspci says). The
>>> function containing the patch in question doesn't appear to even run on
>>> the shark (there is a VL version that is #ifdef SHARK'd), so I'd have
>>> to say the patch would have not impact on the shark.
>>>
>>
>> OK, good news. Thanks for checking. Woody, can you submit the patch
>> (with proper intentation) to linux-fbdev-devel@lists.sourceforge.net
>>
>
> As suggested - I am sending this patch to fbdev-devel....
>
> The Netwinder machines with Cyber2010 crash badly when starting Xserver.
> The workaround is to disable pci burst option for this revision of video
> chip.
>
> Thanks, Woody
>
>
Stuart
Stuart R. Anderson anderson@netsweng.com
Network & Software Engineering http://www.netsweng.com/
1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F
BD03 0A62 E534 37A7 9149
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-20 0:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <459D368F.2030204@xandros.com>
[not found] ` <Pine.LNX.4.64.0701041235351.3796@localhost>
[not found] ` <20070104175352.GC15109@deprecation.cyrius.com>
[not found] ` <Pine.LNX.4.64.0701050934060.5964@trantor.stuart.netsweng.com>
[not found] ` <20070105152224.GQ15109@deprecation.cyrius.com>
2007-01-09 17:26 ` PATCH: cyber2010 framebuffer on ARM Netwinder fix Woody Suwalski
2007-01-20 0:38 ` Stuart Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).