Help needed debugging xf86-video-siliconmotion driver
Connor Behan
connor.behan at gmail.com
Fri Aug 29 20:56:29 PDT 2014
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140829/2f40488a/attachment.sig>
More information about the xorg-devel
mailing list