[Intel-gfx] G45 BIOS mis-initializes stolen GTT PTEs

Eric Anholt eric at anholt.net
Wed Oct 15 22:37:22 CEST 2008


On Wed, 2008-10-15 at 21:54 +0200, Martin Olsson wrote:
> Eric Anholt wrote:
> > On Mon, 2008-10-13 at 23:50 -0700, Keith Packard wrote:
> > I also don't think it's safe -- if the bios is reserving that page for
> > something, we probably don't want to go stepping on it.  See the pair of
> > patches I posted for an (I believe) improved fix.
> 
> I would like to test/verify that the fix that went into drm-intel-next
> works on my system. I have some questions though:
> 
> * For 2D I only need to build new versions of agp-intel.ko and drm.ko, correct?
> * For 3D I need the two above plus also i915.ko, correct?
> 
agp.ko is where the AGP fix was, though there's a bunch of other stuff
in there you want to pick up.  You really want drm.ko and i915.ko
regardless of whether you use 3D apps or not.

> * Do I need to build a new kernel or is it sufficient to re-build the modules? (I currently
> got 2.6.27 final possibly with some minor ubuntu patches not sure what they put in there).

Depends on whether your stuff is built in or as a module.

> * Is there something special I need to do to enable GEM?

drm-intel-next kernel, master libdrm, xf86-video-intel, mesa

> * Finally, how can I get the correct branch from git. I tried both of these commands:
> 
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel.git
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel drm-intel-next branch
> 
> However, in both cases "git log" shows only Linus merges etc and not Eric's and Keith's fixes
> from this week (even though I can see them on gitweb). So it seems that I am getting the wrong
> branch (I'm getting master instead of drm-intel-next). However, both "git show-branch" and
> "git branch" shows a single branch (master). What am I doing wrong?

git branch -r shows branches in the remotes you have available.

If you're looking to clone a new kernel tree from my repo:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel.git
cd drm-intel.git
git-checkout -b drm-intel-next origin/drm-intel-next

though if you've already got a kernel tree, learning to use git-remote
to manage fetching from multiple remotes is highly recommended.

-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081015/add7b0e9/attachment.sig>


More information about the Intel-gfx mailing list