http://bugs.freedesktop.org/show_bug.cgi?id=17054





--- Comment #2 from Frederik Nosi <[EMAIL PROTECTED]>  2008-08-12 07:58:17 PST 
---
Created an attachment (id=18237)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=18237)
(very probably broken) patch to make drm-gem compile against last linux-git

I have the same problem too. I noticed that i can use David's kernel git
repository and the compile can go fine (checking the sources so it seems) but
i'm trying to keep up with Linus's repo having to use some other patches too.
and on the .27 onward version i see that the pci functions used in dri have
changed some parameters.
Tried to adapt the code half blindly as i know nearly zero on the hardware
side, made it even compile but it seems not to work in practice. I get this
logs when loading drm.ko and i915.ko from drm/linux-support:

Aug 10 04:08:20 kotys [drm] Initialized drm 1.1.0 20060810
Aug 10 04:08:30 kotys i915 0000:00:02.0: setting latency timer to 64
Aug 10 04:08:30 kotys [drm:i915_gem_detect_bit_6_swizzle] *ERROR* pci_read_base
failed: -2
Aug 10 04:08:30 kotys [drm] Initialized i915 1.13.0 20080730 on minor 0

And sure it's on the function i'm trying to adapt. Anyway except this log that
makes me think that something isn't working i get direct rendering and things
are working exactly as without the patch.

I'm attaching my (probably broken) patch against linux-git in case somebody can
help make this work.

I had to made some trivial changes on drm side too for making it compile so I'm
adding those too.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to