On Sat, 9 Oct 2004, Jon Smirl wrote:
On Sat, 9 Oct 2004 10:59:35 -0400 (EDT), Vladimir Dergachev
<[EMAIL PROTECTED]> wrote:
On Sat, 9 Oct 2004, [ISO-8859-1] Thomas Hellstr�m wrote:
Just tried out the core-based drm today, and I notice that
drmOpen("via") does not work anymore.
What is the correct way to fix up this? I suspect my client should be using
drmOpenByBusID ?
This is also broken on radeon's (yesterdays code).
drmOpen(name) should still work. I just tried starting X with no bus
id specificed and it found the driver. That should be using
drmOpen(name), right? How exactly does it fail? I fixed getVersion to
report the name of the personality module and not DRM so the right
name should match.
X works for me too, though I think it opens by bus id.
However, r300_demo fails like this:
[EMAIL PROTECTED]:/home/volodya/R300/r300_demo# make test2
sync
./r300_demo --tex-bitblt
CHECKPOINT main 488
main::drmOpen: error 1 (Operation not permitted)
make: *** [test2] Error 255
The code that fails is
drmFD=drmOpen("radeon",NULL);
If, on the other hand, I specify busid directly:
drmFD=drmOpen("radeon", args_info.bus_id_arg);
It works fine.
Also any mode works when I use radeon driver from drm/linux-2.6.
best
Vladimir Dergachev
--
Jon Smirl
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel