[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dri-devel
Subject:    [drm-gem] failing to compile
From:       Stefano Avallone <stavallo () unina ! it>
Date:       2008-07-18 10:10:41
Message-ID: 200807181210.41280.stavallo () unina ! it
[Download RAW message or body]

Hi all,

after the last commit to the drm-gem branch of mesa/drm ("intel-gem: Add two 
new ioctls for managing tiling on objects."), I am no more able to compile the 
i915 drm kernel module. The problem is an implicit declaration of 
pci_read_base in i915_gem_tiling.c

I am using a kernel 2.6.25 patched to support GEM 
(http://people.freedesktop.org/~keithp/gem_patches)

I guess pci_read_base should be replaced by pci_read_bases, which is defined in 
linux/drivers/pci/probe.c . However, even adding the ending 's', the problem 
is that such a function is not declared in i915_gem_tiling.c . Also, I was not 
able to find the prototype of pci_read_bases in any kernel header file.

Am I missing something? Or do you plan to commit other changes in order for 
i915_gem_tiling.c to compile?

Thanks,
Stefano



-------------------------------------------------------------------------
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic