On 29/08/14 03:00 PM, Laérico de Sousa wrote:
> Hi there!
>
> Some time ago I've reported a bug against xf86-video-siliconmotion driver
> describing a very strange problem that affect my Silicon Motion SM501 video
> card:
>
> https://bugs.freedesktop.org/show_bug.cgi?id=79893
>
> Teddy Weng from Silicon Motion replied me this small message:
>
> "The new  Linux Distro has some problem in writing PCI config space. You
> can enable memory IO access manually. You can check SM501 PCI config space
> address 0x04,bit 1. Please let this bit to be '1'."
>
> I have no experience in xorg video driver maintainance, nevertheless I'm
> trying to study xf86-video-siliconmotion source code in order to fix that
> problem. Anyone has any idea of where should I start patching the driver to
> implement Teddy's solution?
>
> Thanks in advance!
I am unfamiliar with the PCI standards, but the relevant parts of the
xorg driver are almost surely inside XSERVER_LIBPCIACCESS ifdef blocks.
I would read the documentation for functions called in there and try to
understand how they set up PCI config space. Maybe the fix can be as
simple as changing one of the arguments.

Good luck!

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to