Checking out and tracking drm/gem kernel modules

garrone pgarrone at optusnet.com.au
Fri Nov 14 14:37:47 PST 2008


 In order to build the latest drm/gem kernel modules, 
 according to the instructions at www.intellinuxgraphics.org/download.html,
 the git repository at
  git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel drm-intel-next branch
 is used.
 When I attempted to clone the repository, similar to the rest of the
 X11 distribution, with the command

 $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel drm-intel

 git wanted to download the best part of a gigabyte. So I set a "depth"
 argument of 2, (--depth 2) after clone, and it merely downloaded the
 source for the linux kernel. Fair enough, for once off.

 Now I want to update my copy. I normally use the command:

 $ git-pull

 However git wanted to download over a million elements, which is vastly
 more than any possible change over a few days. So I tried the command

 $ git-pull --depth=2     

 (or it could have been 1). git downloaded a much more reasonable number
 of changes, less than 1000 elements. However it output many merge errors.
 I appeared to have addressed this with a combination of git-reset, git-commit -a,
 git-add, but now git is wanting me to add some new files by hand.

 Apologies for this saga. Although there is much git documentation, git is
 not my preferred scm. Bearing in mind my aim is merely to port the 2.6.27
 code to suse 2.6.25, what is the simplest minimal-bandwidth way to setup
 and to track the linux drm kernel source.

 Thanks in advance.




More information about the xorg mailing list