[git pull] drm tree

2010-04-01 Thread Dave Airlie

a pull from nouveau + minor drm core fixes,

Lots of radeon fixes from a...@amd, main thing is turning off the use of 
the hw i2c engine by default again, it was causing problems for some 
people, we now have a module option. Lots of misc radeon fixes from Alex 
also, along with RV7xx HDMI audio enabling fixes. No GPU reset or 
placement patches. Hopefully this doesn't contain either an April Fools 
joke or an Easter Egg.

The following changes since commit 220bf991b0366cc50a94feede3d7341fa5710ee4:
  Linus Torvalds (1):
Linux 2.6.34-rc2

are available in the git repository at:

  ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-linus

Alex Deucher (36):
  drm/radeon: add new RS880 pci id
  drm/radeon/kms/atom: spread spectrum fix
  drm/radeon/kms: use lcd pll limits when available
  drm/radeon/kms: further spread spectrum fixes
  drm/radeon/kms: fix pal tv-out support on legacy IGP chips
  drm/radeon/kms: fix for hw i2c
  drm/radeon/kms: fix i2c prescale calc on older radeons
  drm/radeon/kms/r1xx: enable hw i2c
  drm/radeon/kms/rs4xx: make sure crtcs are enabled when setting timing
  drm/radeon/r600: add missing license and comments to r600_blit_shaders.c
  drm/radeon/kms: expose thermal/fan i2c buses
  drm/radeon/kms/pm: fix segfault in clock code
  drm/radeon/kms: gfx init fixes for r6xx/r7xx
  drm/radeon/kms/pm: fix typo in power table parsing
  drm/radeon/kms: init rdev-num_crtc at asic init
  drm/radeon/kms: display watermark fixes
  drm/radeon/kms: never treat rs4xx as AGP
  drm/radeon/kms: fix display bandwidth setup on rs4xx
  drm/radeon/kms: remove lvds quirks
  drm/radeon/kms/atom: make sure tables are valid (v2)
  drm/radeon/r600: remove some regs are not safe regs for command buffers
  drm/radeon/kms: fix some typos in r6xx/r7xx hpd setup
  drm/radeon/r6xx/r7xx: CS parser fixes
  drm/radeon/kms: bump the version for r6xx/r7xx const buffer support
  drm/radeon: bump the UMS driver version for r6xx/r7xx const buffer support
  drm/radeon/r6xx/r7xx: further safe reg clean up
  drm/radeon/kms: fix macbookpro connector quirk
  drm/radeon/kms/atom: minor fixes to transmitter setup
  drm/radeon/kms/dp: remove extraneous training complete call
  drm/radeon/kms: minor fixes for eDP with LCD* device tags (v2)
  drm/radeon/kms/dp: disable training pattern on the sink at the end of 
link training
  drm/radeon/kms: display watermark updates (v2)
  drm/radeon/kms: disable MSI on IGP chips
  drm/radeon/kms: use new pre/post_xfer i2c bit algo hooks
  drm/radeon/kms: add hw_i2c module option
  drm/radeon/kms/evergreen: get DP working

Ben Skeggs (5):
  drm/nouveau: add option to allow override of dcb connector table types
  drm/nouveau: Gigabyte NX85T connector table lies, it has DVI-I not HDMI
  drm/nv50: fix connector table parsing for some cards
  drm/nouveau: add module option to disable TV detection
  drm/edid: allow certain bogus edids to hit a fixup path rather than fail

Chris Wilson (1):
  drm: Return ENODEV if the inode mapping changes

Daniel Vetter (5):
  drm/radeon: create radeon_asic.c
  drm/radeon: move asic structs to radeon_asic.c
  drm/radeon: unconfuse return value of radeon_asic-clear_surface_reg
  drm/radeon: include radeon_asic.h in the asic specific files
  drm/radeon: collect r100 asic related declarations in radeon_asic.h

Dave Airlie (8):
  drm/ttm: use drm calloc large and free large
  Merge remote branch 'nouveau/for-airlied' into drm-linus
  Merge branch 'radeon-for-airlied' of ../linux-2.6 into drm-linus
  drm/radeon/kms: don't print error on -ERESTARTSYS.
  Merge branch 'v2.6.34-rc2' into drm-linus
  drm/radeon/kms: add sanity check to wptr.
  drm/radeon/kms: rs400/480 should set common registers.
  drm/radeon/kms: enable ACPI powermanagement mode on radeon gpus.

Francisco Jerez (2):
  drm/nv04-nv40: Fix up the programmed horizontal sync pulse delay.
  drm/nouveau: Never evict VRAM buffers to system.

Jerome Glisse (2):
  drm/radeon/kms: catch atombios infinite loop and break out of it
  drm/radeon/kms: avoid possible oops (call gart_fini before gart_disable)

Maarten Maathuis (2):
  drm/nouveau: print a message very early during suspend
  drm/nv50: add a memory barrier to pushbuf submission

Marcin Kościelnicki (4):
  drm/nv50: Remove redundant/incorrect ctxvals initialisation.
  drm/nouveau: Fix fbcon corruption with font width not divisible by 8
  drm/nv50: Make ctxprog wait until interrupt handler is done.
  drm/nv50: Improve PGRAPH interrupt handling.

Michel Dänzer (1):
  drm/radeon/kms: Only restrict BO to visible VRAM size when pinning to 
VRAM.

Pauli Nieminen (1):
  drm/radeon/kms: Fix NULL pointer dereference if memory allocation failed.

Rafał Miłecki (8):
  

Re: [git pull] drm tree

2010-04-01 Thread Rafał Miłecki
W dniu 1 kwietnia 2010 09:32 użytkownik Dave Airlie airl...@linux.ie napisał:
 a pull from nouveau + minor drm core fixes,

 Lots of radeon fixes from a...@amd, main thing is turning off the use of
 the hw i2c engine by default again, it was causing problems for some
 people, we now have a module option. Lots of misc radeon fixes from Alex
 also, along with RV7xx HDMI audio enabling fixes. No GPU reset or
 placement patches. Hopefully this doesn't contain either an April Fools
 joke or an Easter Egg.

Hey, thanks :)

-- 
Rafał

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [git pull] drm tree.

2009-09-22 Thread Ed Tomlinson
On Monday 21 September 2009 10:17:59 Alex Deucher wrote:
 On Mon, Sep 21, 2009 at 7:59 AM, Ed Tomlinson e...@aei.ca wrote:
  On Monday 21 September 2009 01:12:54 Dave Airlie wrote:
 
  Hi Linus,
 
  Please pull the 'drm-linus' branch from
  ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git 
  drm-linus
 
  This contains the main chunk of the drm changes for 2.6.32, I think Eric
  has been on holidays for a week so I'd expect some more Intel changes
  incoming in the merge window. It also contains a few merges for things
  that were conflicting with things I sent to you via the drm-fixes tree,
  but they weren't always trivial.
 
  Major highlights core drm/non-kms:
  move mga/r128/radeon to firmware loader - major LOC churn,
  decreases in-memory radeon module footprint quite a bit.
  r600 3D support in non-kms mode.
 
  Dave,
 
  What user space stuff (xorg/mesa) is required to use the R300 3D?
 
 
 r300 3D has been available for years.  If you mean r600 3D, you need
 xf86-video-ati 6.12.4 or newer and mesa from git master.

Alex

Thanks, I did mean R600.

Ed

 
  VGA arbitration support for core drm and kms (was waiting for
  jbarnes tree to land).
 
  core KMS:
  add support for GTF/CVT/DMT modes, gets us a long way towards X
  merge intel and radeon kms framebuffer implementations for sanity.
 
  radeon KMS:
  R600 KMS support + acceleration support.
  move to generating the safe register tables with a script.
  radeon tv-out supported ported from userspace
  rn50/r100/r200 command submission trackers added
 
  intel:
  some IGDNG fixes
  important fix for wrapping at end of ring
  more SDVO tv-out support
  dynamic clocking support
 
 
  --
  Come build with us! The BlackBerryreg; Developer Conference in SF, CA
  is the only developer event you need to attend this year. Jumpstart your
  developing skills, take BlackBerry mobile applications to market and stay
  ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
  http://p.sf.net/sfu/devconf
  --
  ___
  Dri-devel mailing list
  Dri-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dri-devel
 
 
 

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [origin tree build failure] [PATCH] Re: [git pull] drm tree.

2009-09-22 Thread Ingo Molnar

* Dave Airlie airl...@linux.ie wrote:

  there's a new build failure:
  
  drivers/built-in.o: In function `drm_irq_uninstall':
  (.text+0xb719e): undefined reference to `vga_client_register'
  drivers/built-in.o: In function `drm_irq_install':
  (.text+0xb7309): undefined reference to `vga_client_register'
  drivers/built-in.o: In function `radeon_device_fini':
  (.text+0xe400f): undefined reference to `vga_client_register'
  drivers/built-in.o: In function `radeon_device_init':
  (.text+0xe455b): undefined reference to `vga_client_register'
  
  with the attached config, introduced with upstream merge 44040f1.
  
  At first sight it appears to be due to CONFIG_DRM_RADEON relying on 
  VGA_ARB facilities but this is not expressed in the Kconfig rules. The 
  patch below solves this - but this is just a quick patch, i have not 
  investigated any deeper.
  
  Review of the code suggests that i915 has a similar dependency problem - 
  i fixed that too.
 
 The way it should work is VGA ARB should be enabled on any platforms we
 have PCI unless EMBEDDED turns it off, since arbitration of VGA isn't 
 reliant on a drm device, I'm not sure what Kconfig magic this would 
 require, and where it would need to be. This patch should at least allow
 builds to work until I figure out any Kconfig magic.
 
 From 8a874578cbf8b07b988e666c15fa0ba767f3c1cb Mon Sep 17 00:00:00 2001
 From: Dave Airlie airl...@redhat.com
 Date: Tue, 22 Sep 2009 13:53:00 +1000
 Subject: [PATCH] vgaarb: wrap the client register API so we can disable VGA 
 ARB.
 
 This provides an dummy register function so everything builds
 if VGA arb is turned off.
 
 Signed-off-by: Dave Airlie airl...@redhat.com
 ---
  include/linux/vgaarb.h |   11 ++-
  1 files changed, 10 insertions(+), 1 deletions(-)
 
 diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h
 index e81c64a..b0feb79 100644
 --- a/include/linux/vgaarb.h
 +++ b/include/linux/vgaarb.h
 @@ -41,7 +41,7 @@
   * interrupts at any time.
   */
  extern void vga_set_legacy_decoding(struct pci_dev *pdev,
 - 
 unsigned int decodes);
 + unsigned int decodes);
  
  /**
   * vga_get - acquire  locks VGA resources
 @@ -193,8 +193,17 @@ static inline int vga_conflicts(struct pci_dev *p1, 
 struct pci_dev *p2)
   * They driver will get a callback when VGA arbitration is first used
   * by userspace since we some older X servers have issues.
   */
 +#if defined(CONFIG_VGA_ARB)
  int vga_client_register(struct pci_dev *pdev, void *cookie,
   void (*irq_set_state)(void *cookie, bool state),
   unsigned int (*set_vga_decode)(void *cookie, bool 
 state));
 +#else
 +static inline int vga_client_register(struct pci_dev *pdev, void *cookie,
 +   void (*irq_set_state)(void *cookie, bool 
 state),
 +   unsigned int (*set_vga_decode)(void 
 *cookie, bool state));
 +{
 + return 0;
 +}
 +#endif

Yeah - making APIs config invariant is a good idea in any case, 
regardless of Kconfig magic.

Thanks,

Ingo

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [origin tree build failure] [PATCH] Re: [git pull] drm tree.

2009-09-22 Thread Ingo Molnar

* Dave Airlie airl...@linux.ie wrote:

 From 8a874578cbf8b07b988e666c15fa0ba767f3c1cb Mon Sep 17 00:00:00 2001
 From: Dave Airlie airl...@redhat.com
 Date: Tue, 22 Sep 2009 13:53:00 +1000
 Subject: [PATCH] vgaarb: wrap the client register API so we can disable VGA 
 ARB.
 
 This provides an dummy register function so everything builds
 if VGA arb is turned off.
 
 Signed-off-by: Dave Airlie airl...@redhat.com
 ---
  include/linux/vgaarb.h |   11 ++-
  1 files changed, 10 insertions(+), 1 deletions(-)

btw., i hope you have not commited this yet, there's a trivial problem 
with this patch:

 diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h
 index e81c64a..b0feb79 100644
 --- a/include/linux/vgaarb.h
 +++ b/include/linux/vgaarb.h
 @@ -41,7 +41,7 @@
   * interrupts at any time.
   */
  extern void vga_set_legacy_decoding(struct pci_dev *pdev,
 - 
 unsigned int decodes);
 + unsigned int decodes);
  
  /**
   * vga_get - acquire  locks VGA resources
 @@ -193,8 +193,17 @@ static inline int vga_conflicts(struct pci_dev *p1, 
 struct pci_dev *p2)
   * They driver will get a callback when VGA arbitration is first used
   * by userspace since we some older X servers have issues.
   */
 +#if defined(CONFIG_VGA_ARB)
  int vga_client_register(struct pci_dev *pdev, void *cookie,
   void (*irq_set_state)(void *cookie, bool state),
   unsigned int (*set_vga_decode)(void *cookie, bool 
 state));
 +#else
 +static inline int vga_client_register(struct pci_dev *pdev, void *cookie,
 +   void (*irq_set_state)(void *cookie, bool 
 state),
 +   unsigned int (*set_vga_decode)(void 
 *cookie, bool state));
 +{
 + return 0;
 +}
 +#endif

that ';' in the inline prototype is bogus, this wont build.

Ingo

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [origin tree build failure] [PATCH] Re: [git pull] drm tree.

2009-09-22 Thread Dave Airlie
  Subject: [PATCH] vgaarb: wrap the client register API so we can disable VGA 
  ARB.
  
  This provides an dummy register function so everything builds
  if VGA arb is turned off.
  
  Signed-off-by: Dave Airlie airl...@redhat.com
  ---
   include/linux/vgaarb.h |   11 ++-
   1 files changed, 10 insertions(+), 1 deletions(-)
 
 btw., i hope you have not commited this yet, there's a trivial problem 
 with this patch:

oops, i was going to push it to jbarnes after I had a chance to play with
it.

I'll clean it up and send it to jbarnes tomorrow.

Dave.

 
  diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h
  index e81c64a..b0feb79 100644
  --- a/include/linux/vgaarb.h
  +++ b/include/linux/vgaarb.h
  @@ -41,7 +41,7 @@
* interrupts at any time.
*/
   extern void vga_set_legacy_decoding(struct pci_dev *pdev,
  -   
  unsigned int decodes);
  +   unsigned int decodes);
   
   /**
* vga_get - acquire  locks VGA resources
  @@ -193,8 +193,17 @@ static inline int vga_conflicts(struct pci_dev *p1, 
  struct pci_dev *p2)
* They driver will get a callback when VGA arbitration is first used
* by userspace since we some older X servers have issues.
*/
  +#if defined(CONFIG_VGA_ARB)
   int vga_client_register(struct pci_dev *pdev, void *cookie,
  void (*irq_set_state)(void *cookie, bool state),
  unsigned int (*set_vga_decode)(void *cookie, bool 
  state));
  +#else
  +static inline int vga_client_register(struct pci_dev *pdev, void *cookie,
  + void (*irq_set_state)(void *cookie, bool 
  state),
  + unsigned int (*set_vga_decode)(void 
  *cookie, bool state));
  +{
  +   return 0;
  +}
  +#endif
 
 that ';' in the inline prototype is bogus, this wont build.
 
   Ingo
 
 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 --
 ___
 Dri-devel mailing list
 Dri-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dri-devel
 
 

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [origin tree build failure] [PATCH] Re: [git pull] drm tree.

2009-09-22 Thread Ingo Molnar

here's a patch that works for me.

Ingo

Signed-off-by: Ingo Molnar mi...@elte.hu
---
 include/linux/vgaarb.h |   11 ++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h
index e81c64a..923f904 100644
--- a/include/linux/vgaarb.h
+++ b/include/linux/vgaarb.h
@@ -41,7 +41,7 @@
  * interrupts at any time.
  */
 extern void vga_set_legacy_decoding(struct pci_dev *pdev,
-   
unsigned int decodes);
+   unsigned int decodes);
 
 /**
  * vga_get - acquire  locks VGA resources
@@ -193,8 +193,17 @@ static inline int vga_conflicts(struct pci_dev *p1, struct 
pci_dev *p2)
  * They driver will get a callback when VGA arbitration is first used
  * by userspace since we some older X servers have issues.
  */
+#if defined(CONFIG_VGA_ARB)
 int vga_client_register(struct pci_dev *pdev, void *cookie,
void (*irq_set_state)(void *cookie, bool state),
unsigned int (*set_vga_decode)(void *cookie, bool 
state));
+#else
+static inline int vga_client_register(struct pci_dev *pdev, void *cookie,
+ void (*irq_set_state)(void *cookie, bool 
state),
+ unsigned int (*set_vga_decode)(void 
*cookie, bool state))
+{
+   return 0;
+}
+#endif
 
 #endif /* LINUX_VGA_H */

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [git pull] drm tree.

2009-09-21 Thread Ed Tomlinson
On Monday 21 September 2009 01:12:54 Dave Airlie wrote:
 
 Hi Linus,
 
 Please pull the 'drm-linus' branch from
 ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-linus
 
 This contains the main chunk of the drm changes for 2.6.32, I think Eric 
 has been on holidays for a week so I'd expect some more Intel changes 
 incoming in the merge window. It also contains a few merges for things 
 that were conflicting with things I sent to you via the drm-fixes tree,
 but they weren't always trivial.
 
 Major highlights core drm/non-kms:
 move mga/r128/radeon to firmware loader - major LOC churn,
 decreases in-memory radeon module footprint quite a bit.
 r600 3D support in non-kms mode.

Dave,

What user space stuff (xorg/mesa) is required to use the R300 3D?

TIA,
Ed Tomlinson

 VGA arbitration support for core drm and kms (was waiting for
 jbarnes tree to land).
 
 core KMS:
 add support for GTF/CVT/DMT modes, gets us a long way towards X
 merge intel and radeon kms framebuffer implementations for sanity.
 
 radeon KMS:
 R600 KMS support + acceleration support.
 move to generating the safe register tables with a script.
 radeon tv-out supported ported from userspace
 rn50/r100/r200 command submission trackers added
 
 intel: 
 some IGDNG fixes
 important fix for wrapping at end of ring
 more SDVO tv-out support
 dynamic clocking support


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [git pull] drm tree.

2009-09-21 Thread Alex Deucher
On Mon, Sep 21, 2009 at 7:59 AM, Ed Tomlinson e...@aei.ca wrote:
 On Monday 21 September 2009 01:12:54 Dave Airlie wrote:

 Hi Linus,

 Please pull the 'drm-linus' branch from
 ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git 
 drm-linus

 This contains the main chunk of the drm changes for 2.6.32, I think Eric
 has been on holidays for a week so I'd expect some more Intel changes
 incoming in the merge window. It also contains a few merges for things
 that were conflicting with things I sent to you via the drm-fixes tree,
 but they weren't always trivial.

 Major highlights core drm/non-kms:
 move mga/r128/radeon to firmware loader - major LOC churn,
 decreases in-memory radeon module footprint quite a bit.
 r600 3D support in non-kms mode.

 Dave,

 What user space stuff (xorg/mesa) is required to use the R300 3D?


r300 3D has been available for years.  If you mean r600 3D, you need
xf86-video-ati 6.12.4 or newer and mesa from git master.

Alex

 TIA,
 Ed Tomlinson

 VGA arbitration support for core drm and kms (was waiting for
 jbarnes tree to land).

 core KMS:
 add support for GTF/CVT/DMT modes, gets us a long way towards X
 merge intel and radeon kms framebuffer implementations for sanity.

 radeon KMS:
 R600 KMS support + acceleration support.
 move to generating the safe register tables with a script.
 radeon tv-out supported ported from userspace
 rn50/r100/r200 command submission trackers added

 intel:
 some IGDNG fixes
 important fix for wrapping at end of ring
 more SDVO tv-out support
 dynamic clocking support


 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 --
 ___
 Dri-devel mailing list
 Dri-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dri-devel


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [origin tree build failure] [PATCH] Re: [git pull] drm tree.

2009-09-21 Thread Dave Airlie

 
 there's a new build failure:
 
 drivers/built-in.o: In function `drm_irq_uninstall':
 (.text+0xb719e): undefined reference to `vga_client_register'
 drivers/built-in.o: In function `drm_irq_install':
 (.text+0xb7309): undefined reference to `vga_client_register'
 drivers/built-in.o: In function `radeon_device_fini':
 (.text+0xe400f): undefined reference to `vga_client_register'
 drivers/built-in.o: In function `radeon_device_init':
 (.text+0xe455b): undefined reference to `vga_client_register'
 
 with the attached config, introduced with upstream merge 44040f1.
 
 At first sight it appears to be due to CONFIG_DRM_RADEON relying on 
 VGA_ARB facilities but this is not expressed in the Kconfig rules. The 
 patch below solves this - but this is just a quick patch, i have not 
 investigated any deeper.
 
 Review of the code suggests that i915 has a similar dependency problem - 
 i fixed that too.

The way it should work is VGA ARB should be enabled on any platforms we
have PCI unless EMBEDDED turns it off, since arbitration of VGA isn't 
reliant on a drm device, I'm not sure what Kconfig magic this would 
require, and where it would need to be. This patch should at least allow
builds to work until I figure out any Kconfig magic.

From 8a874578cbf8b07b988e666c15fa0ba767f3c1cb Mon Sep 17 00:00:00 2001
From: Dave Airlie airl...@redhat.com
Date: Tue, 22 Sep 2009 13:53:00 +1000
Subject: [PATCH] vgaarb: wrap the client register API so we can disable VGA ARB.

This provides an dummy register function so everything builds
if VGA arb is turned off.

Signed-off-by: Dave Airlie airl...@redhat.com
---
 include/linux/vgaarb.h |   11 ++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h
index e81c64a..b0feb79 100644
--- a/include/linux/vgaarb.h
+++ b/include/linux/vgaarb.h
@@ -41,7 +41,7 @@
  * interrupts at any time.
  */
 extern void vga_set_legacy_decoding(struct pci_dev *pdev,
-   
unsigned int decodes);
+   unsigned int decodes);
 
 /**
  * vga_get - acquire  locks VGA resources
@@ -193,8 +193,17 @@ static inline int vga_conflicts(struct pci_dev *p1, struct 
pci_dev *p2)
  * They driver will get a callback when VGA arbitration is first used
  * by userspace since we some older X servers have issues.
  */
+#if defined(CONFIG_VGA_ARB)
 int vga_client_register(struct pci_dev *pdev, void *cookie,
void (*irq_set_state)(void *cookie, bool state),
unsigned int (*set_vga_decode)(void *cookie, bool 
state));
+#else
+static inline int vga_client_register(struct pci_dev *pdev, void *cookie,
+ void (*irq_set_state)(void *cookie, bool 
state),
+ unsigned int (*set_vga_decode)(void 
*cookie, bool state));
+{
+   return 0;
+}
+#endif
 
 #endif /* LINUX_VGA_H */
-- 
1.6.0.6


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[git pull] drm tree this time only the major issues.

2008-08-24 Thread Dave Airlie

Hi Linus,

Please pull the 'drm-patches' branch from
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-patches

This fixes a number of chip lockups under 3D load in the radeon driver, 
a locking bug reported on lkml (hits a WARN_ON), and a problem where the 
X server can't be debugged through startup.

Dave.

 drivers/gpu/drm/drm_irq.c|   20 ++--
 drivers/gpu/drm/drm_lock.c   |   33 +++---
 drivers/gpu/drm/radeon/r300_cmdbuf.c |  196 --
 drivers/gpu/drm/radeon/r300_reg.h|5 +-
 drivers/gpu/drm/radeon/radeon_cp.c   |   38 +++
 drivers/gpu/drm/radeon/radeon_drv.h  |   19 ++--
 6 files changed, 225 insertions(+), 86 deletions(-)

commit 3e5fc80a404a24c858468030b63555cccfb3e79c
Author: Dave Airlie [EMAIL PROTECTED]
Date:   Sun Aug 24 17:02:26 2008 +1000

drm: don't set the signal blocker on the master process.

There is a problem with debugging the X server and gdb crashes in
the xkb startup code.

This avoids the problem by allowing the master process to get signals.
It should be safe as the signal blocker is mainly so that you can
Ctrl-Z a 3D application without locking up the whole box. Ctrl-Z the
X server isn't something many people do.

Signed-off-by: Dave Airlie [EMAIL PROTECTED]

commit e5b4f19417b75a2d7c1e36934f60a3e836c4337e
Author: Thomas Hellstrom thomas-at-tungstengraphics-dot-com
Date:   Sun Aug 24 17:00:00 2008 +1000

drm: don't call the vblank tasklet with irqs disabled.

If a specific tasklet shares data with irq context,
it needs to take a private irq-blocking spinlock within
the tasklet itself.

Signed-off-by: Dave Airlie [EMAIL PROTECTED]

commit 649ffc06a62bf487b78440669bdfeb637f1d675b
Author: Nicolai Haehnle [EMAIL PROTECTED]
Date:   Wed Aug 13 09:50:12 2008 +1000

r300: Fix cliprect emit

This makes our handling of cliprects sane. drm_clip_rect always has exclusiv
bottom-right corners, but the hardware expects inclusive bottom-right corner
so we adjust this here.

This complements Michel Daenzer's commit 57aea290e1e0a26d1e74df6cff777eb9f03
to Mesa. See also http://bugs.freedesktop.org/show_bug.cgi?id=16123

Signed-off-by: Dave Airlie [EMAIL PROTECTED]

commit e2898c5fdd91f54c9c84fbf7d32edb8e4dfda574
Author: Nicolai Haehnle [EMAIL PROTECTED]
Date:   Wed Aug 13 09:49:15 2008 +1000

drm/radeon: r300_cmdbuf: Always emit INDX_BUFFER immediately after 
DRAW_INDEX

DRAW_INDEX writes a vertex count to VAP_VF_CNTL. Docs say that behaviour
is undefined (i.e. lockups happen) when this write is not followed by the
right number of vertex indices.

Thus we used to do the wrong thing when drawing across many cliprects was
necessary, because we emitted a sequence
DRAW_INDEX, DRAW_INDEX, INDX_BUFFER, INDX_BUFFER
instead of
DRAW_INDEX, INDX_BUFFER, DRAW_INDEX, INDX_BUFFER
The latter is what we're doing now and which ought to be correct.

Signed-off-by: Dave Airlie [EMAIL PROTECTED]

commit 54f961a628b737f66710eca0b0d95346645dd33e
Author: Jerome Glisse [EMAIL PROTECTED]
Date:   Wed Aug 13 09:46:31 2008 +1000

radeon: fix some hard lockups on r3/4/500s

This patch should fix hard lockup and convert them in
softlockup (ie you can ssh the box but the gpu is busted
and we are waiting in loop for it to come back to reason).

Signed-off-by: Dave Airlie [EMAIL PROTECTED]

-
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=100url=/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [git pull] drm tree reorganisation for merge window

2008-07-14 Thread Stephen Rothwell
Hi Dave,

On Mon, 14 Jul 2008 01:49:15 +0100 (IST) Dave Airlie [EMAIL PROTECTED] wrote:

 Please pull the 'drm-reorg' branch from
 ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-reorg
 
 This contains a moving around of a lot of the DRM into a more Linux like 
 tree and makes it a lot nicer going forward for merging new features.

Does this tree have a fix for the x86_64 allmodconfig build failures I
reported against linux-next?

-- 
Cheers,
Stephen Rothwell[EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/


pgpYsi528RilF.pgp
Description: PGP signature
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [git pull] drm tree reorganisation for merge window

2008-07-14 Thread Dave Airlie

 
  Please pull the 'drm-reorg' branch from
  ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git 
  drm-reorg
  
  This contains a moving around of a lot of the DRM into a more Linux like 
  tree and makes it a lot nicer going forward for merging new features.
 
 Does this tree have a fix for the x86_64 allmodconfig build failures I
 reported against linux-next?

Yes I rolled them into the patch instead of cluttering up the history.

Dave.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[git pull] drm tree reorganisation for merge window

2008-07-13 Thread Dave Airlie

Hi Linus,

Please pull the 'drm-reorg' branch from
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-reorg

This contains a moving around of a lot of the DRM into a more Linux like 
tree and makes it a lot nicer going forward for merging new features.

Dave.

 drivers/Makefile   |1 +
 drivers/char/Makefile  |1 -
 drivers/char/drm/Makefile  |   40 
 drivers/gpu/Makefile   |1 +
 drivers/{char = gpu}/drm/Kconfig  |0 
 drivers/gpu/drm/Makefile   |   26 +
 drivers/{char = gpu}/drm/README.drm   |0 
 drivers/{char = gpu}/drm/ati_pcigart.c|0 
 drivers/{char = gpu}/drm/drm_agpsupport.c |0 
 drivers/{char = gpu}/drm/drm_auth.c   |0 
 drivers/{char = gpu}/drm/drm_bufs.c   |0 
 drivers/{char = gpu}/drm/drm_context.c|0 
 drivers/{char = gpu}/drm/drm_dma.c|0 
 drivers/{char = gpu}/drm/drm_drawable.c   |0 
 drivers/{char = gpu}/drm/drm_drv.c|0 
 drivers/{char = gpu}/drm/drm_fops.c   |0 
 drivers/{char = gpu}/drm/drm_hashtab.c|0 
 drivers/{char = gpu}/drm/drm_ioc32.c  |0 
 drivers/{char = gpu}/drm/drm_ioctl.c  |0 
 drivers/{char = gpu}/drm/drm_irq.c|0 
 drivers/{char = gpu}/drm/drm_lock.c   |0 
 drivers/{char = gpu}/drm/drm_memory.c |0 
 drivers/{char = gpu}/drm/drm_mm.c |0 
 drivers/{char = gpu}/drm/drm_pci.c|0 
 drivers/{char = gpu}/drm/drm_proc.c   |0 
 drivers/{char = gpu}/drm/drm_scatter.c|0 
 drivers/{char = gpu}/drm/drm_sman.c   |0 
 drivers/{char = gpu}/drm/drm_stub.c   |0 
 drivers/{char = gpu}/drm/drm_sysfs.c  |0 
 drivers/{char = gpu}/drm/drm_vm.c |0 
 drivers/gpu/drm/i810/Makefile  |8 
 drivers/{char/drm = gpu/drm/i810}/i810_dma.c  |0 
 drivers/{char/drm = gpu/drm/i810}/i810_drv.c  |0 
 drivers/{char/drm = gpu/drm/i810}/i810_drv.h  |0 
 drivers/gpu/drm/i830/Makefile  |8 
 drivers/{char/drm = gpu/drm/i830}/i830_dma.c  |0 
 drivers/{char/drm = gpu/drm/i830}/i830_drv.c  |0 
 drivers/{char/drm = gpu/drm/i830}/i830_drv.h  |0 
 drivers/{char/drm = gpu/drm/i830}/i830_irq.c  |0 
 drivers/gpu/drm/i915/Makefile  |   10 +
 drivers/{char/drm = gpu/drm/i915}/i915_dma.c  |0 
 drivers/{char/drm = gpu/drm/i915}/i915_drv.c  |0 
 drivers/{char/drm = gpu/drm/i915}/i915_drv.h  |0 
 drivers/{char/drm = gpu/drm/i915}/i915_ioc32.c|0 
 drivers/{char/drm = gpu/drm/i915}/i915_irq.c  |0 
 drivers/{char/drm = gpu/drm/i915}/i915_mem.c  |0 
 drivers/gpu/drm/mga/Makefile   |   11 +
 drivers/{char/drm = gpu/drm/mga}/mga_dma.c|0 
 drivers/{char/drm = gpu/drm/mga}/mga_drv.c|0 
 drivers/{char/drm = gpu/drm/mga}/mga_drv.h|0 
 drivers/{char/drm = gpu/drm/mga}/mga_ioc32.c  |0 
 drivers/{char/drm = gpu/drm/mga}/mga_irq.c|0 
 drivers/{char/drm = gpu/drm/mga}/mga_state.c  |0 
 drivers/{char/drm = gpu/drm/mga}/mga_ucode.h  |0 
 drivers/{char/drm = gpu/drm/mga}/mga_warp.c   |0 
 drivers/gpu/drm/r128/Makefile  |   10 +
 drivers/{char/drm = gpu/drm/r128}/r128_cce.c  |0 
 drivers/{char/drm = gpu/drm/r128}/r128_drv.c  |0 
 drivers/{char/drm = gpu/drm/r128}/r128_drv.h  |0 
 drivers/{char/drm = gpu/drm/r128}/r128_ioc32.c|0 
 drivers/{char/drm = gpu/drm/r128}/r128_irq.c  |0 
 drivers/{char/drm = gpu/drm/r128}/r128_state.c|0 
 drivers/gpu/drm/radeon/Makefile|   10 +
 drivers/{char/drm = gpu/drm/radeon}/r300_cmdbuf.c |0 
 drivers/{char/drm = gpu/drm/radeon}/r300_reg.h|0 
 drivers/{char/drm = gpu/drm/radeon}/radeon_cp.c   |0 
 drivers/{char/drm = gpu/drm/radeon}/radeon_drv.c  |0 
 drivers/{char/drm = gpu/drm/radeon}/radeon_drv.h  |0 
 .../{char/drm = gpu/drm/radeon}/radeon_ioc32.c|0 
 drivers/{char/drm = gpu/drm/radeon}/radeon_irq.c  |0 
 drivers/{char/drm = gpu/drm/radeon}/radeon_mem.c  |0 
 .../drm = gpu/drm/radeon}/radeon_microcode.h  |0 
 .../{char/drm = gpu/drm/radeon}/radeon_state.c|0 
 drivers/gpu/drm/savage/Makefile|9 
 drivers/{char/drm = gpu/drm/savage}/savage_bci.c  |0 
 drivers/{char/drm = gpu/drm/savage}/savage_drv.c  |0 
 drivers/{char/drm = gpu/drm/savage}/savage_drv.h  |0 
 .../{char/drm = gpu/drm/savage}/savage_state.c|0 
 drivers/gpu/drm/sis/Makefile

[git pull] DRM tree for 2.6.23-rc1

2007-07-15 Thread Dave Airlie

Hi Linus,

Please pull the 'drm-patches' branch from the drm git tree.
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-patches

It contains a removal of a lot of typedefs from the core drm and their use in
drivers. Drivers will have their own typedefs cleaned later.

It also contains an updated r300 register file, and radeon vblank routing
support along with a list macro cleanup.

Dave.

  drivers/char/drm/ati_pcigart.c|8 +-
  drivers/char/drm/drm.h|  329 ++-
  drivers/char/drm/drmP.h   |  349 ++--
  drivers/char/drm/drm_agpsupport.c |  116 ++--
  drivers/char/drm/drm_auth.c   |   40 +-
  drivers/char/drm/drm_bufs.c   |  209 
  drivers/char/drm/drm_context.c|   97 ++--
  drivers/char/drm/drm_dma.c|   12 +-
  drivers/char/drm/drm_drawable.c   |   34 +-
  drivers/char/drm/drm_drv.c|   76 ++--
  drivers/char/drm/drm_fops.c   |   68 +--
  drivers/char/drm/drm_hashtab.c|   34 +-
  drivers/char/drm/drm_hashtab.h|   24 +-
  drivers/char/drm/drm_ioctl.c  |   68 ++-
  drivers/char/drm/drm_irq.c|   58 +-
  drivers/char/drm/drm_lock.c   |   28 +-
  drivers/char/drm/drm_memory.c |8 +-
  drivers/char/drm/drm_mm.c |   66 +-
  drivers/char/drm/drm_os_linux.h   |   22 +-
  drivers/char/drm/drm_pci.c|6 +-
  drivers/char/drm/drm_proc.c   |   50 +-
  drivers/char/drm/drm_sarea.h  |   26 +-
  drivers/char/drm/drm_scatter.c|   22 +-
  drivers/char/drm/drm_sman.c   |   93 ++--
  drivers/char/drm/drm_sman.h   |   50 +-
  drivers/char/drm/drm_stub.c   |   30 +-
  drivers/char/drm/drm_sysfs.c  |4 +-
  drivers/char/drm/drm_vm.c |  106 ++--
  drivers/char/drm/i810_dma.c   |  164 +++---
  drivers/char/drm/i810_drm.h   |2 +-
  drivers/char/drm/i810_drv.h   |   18 +-
  drivers/char/drm/i830_dma.c   |  157 +++---
  drivers/char/drm/i830_drm.h   |2 +-
  drivers/char/drm/i830_drv.h   |   24 +-
  drivers/char/drm/i830_irq.c   |   20 +-
  drivers/char/drm/i915_dma.c   |   44 +-
  drivers/char/drm/i915_drm.h   |8 +-
  drivers/char/drm/i915_drv.h   |   22 +-
  drivers/char/drm/i915_irq.c   |   28 +-
  drivers/char/drm/i915_mem.c   |6 +-
  drivers/char/drm/mga_dma.c|   79 ++--
  drivers/char/drm/mga_drm.h|6 +-
  drivers/char/drm/mga_drv.c|4 +-
  drivers/char/drm/mga_drv.h|   22 +-
  drivers/char/drm/mga_irq.c|   12 +-
  drivers/char/drm/mga_state.c  |   36 +-
  drivers/char/drm/r128_cce.c   |   41 +-
  drivers/char/drm/r128_drm.h   |4 +-
  drivers/char/drm/r128_drv.h   |   20 +-
  drivers/char/drm/r128_irq.c   |   10 +-
  drivers/char/drm/r128_state.c |   60 +-
  drivers/char/drm/r300_cmdbuf.c|   53 +-
  drivers/char/drm/r300_reg.h   | 1163 +
  drivers/char/drm/radeon_cp.c  |   54 +-
  drivers/char/drm/radeon_drm.h |   12 +-
  drivers/char/drm/radeon_drv.c |3 +-
  drivers/char/drm/radeon_drv.h |   45 +-
  drivers/char/drm/radeon_irq.c |  118 -
  drivers/char/drm/radeon_state.c   |  108 ++--
  drivers/char/drm/savage_bci.c |   44 +-
  drivers/char/drm/savage_drm.h |4 +-
  drivers/char/drm/savage_drv.h |   20 +-
  drivers/char/drm/savage_state.c   |   28 +-
  drivers/char/drm/sis_drv.c|4 +-
  drivers/char/drm/sis_drv.h|9 +-
  drivers/char/drm/sis_mm.c |   16 +-
  drivers/char/drm/via_dma.c|   10 +-
  drivers/char/drm/via_dmablit.c|   20 +-
  drivers/char/drm/via_dmablit.h|2 +-
  drivers/char/drm/via_drm.h|4 +-
  drivers/char/drm/via_drv.h|   32 +-
  drivers/char/drm/via_irq.c|   12 +-
  drivers/char/drm/via_map.c|   10 +-
  drivers/char/drm/via_mm.c |6 +-
  drivers/char/drm/via_verifier.c   |   12 +-
  drivers/char/drm/via_verifier.h   |6 +-
  76 files changed, 2444 insertions(+), 2173 deletions(-)

commit bd63cb52c05bbb154f539369cae4fb9c9b6277da
Author: Dave Airlie [EMAIL PROTECTED]
Date:   Thu Jul 12 10:35:02 2007 +1000

 drm: remove sarea typedefs

 Leave the userspace typedefs in place

 Signed-off-by: Dave Airlie [EMAIL PROTECTED]

commit e0be428e6645f2891fab6be92d1b0e9aad972e7d
Author: Dave Airlie [EMAIL PROTECTED]
Date:   Thu Jul 12 10:26:44 2007 +1000

 drm: detypedef the hashtab and more of sman

 Signed-off-by: Dave Airlie [EMAIL PROTECTED]

commit 9698b4dba42eb758ad98012c21e5fbdb372fe2d9
Author: Dave Airlie [EMAIL PROTECTED]
Date:   Thu Jul 12 10:21:05 2007 +1000

 drm: de-typedef sman

 Signed-off-by: Dave Airlie [EMAIL PROTECTED]

commit 55910517af381eba4f978740e5e46e23eb269326
Author: Dave Airlie [EMAIL PROTECTED]
Date:   Wed Jul 11 16:53:40 2007 +1000

 drm: detypedeffing continues...

 Signed-off-by: Dave Airlie [EMAIL PROTECTED]

commit 

Re: [git pull] DRM tree for 2.6.23-rc1

2007-07-15 Thread Linus Torvalds


On Mon, 16 Jul 2007, Dave Airlie wrote:
 
 Please pull the 'drm-patches' branch from the drm git tree.
 ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git
 drm-patches

This totally breaks for me.

  CC  drivers/char/drm/drm_ioc32.o
drivers/char/drm/drm_ioc32.c: In function ‘compat_drm_version’:
drivers/char/drm/drm_ioc32.c:85: error: ‘drm_version_t’ undeclared 
(first use in this function)
drivers/char/drm/drm_ioc32.c:85: error: (Each undeclared identifier is 
reported only once
..

followed by hundreds of lines of warnings.

Linus

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [git pull] DRM tree for 2.6.23-rc1

2007-07-15 Thread Dave Airlie
On 7/16/07, Linus Torvalds [EMAIL PROTECTED] wrote:


 On Mon, 16 Jul 2007, Dave Airlie wrote:
 
  Please pull the 'drm-patches' branch from the drm git tree.
  ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git
  drm-patches

 This totally breaks for me.

   CC  drivers/char/drm/drm_ioc32.o
 drivers/char/drm/drm_ioc32.c: In function 'compat_drm_version':
 drivers/char/drm/drm_ioc32.c:85: error: 'drm_version_t' undeclared 
 (first use in this function)
 drivers/char/drm/drm_ioc32.c:85: error: (Each undeclared identifier 
 is reported only once
 ..

 followed by hundreds of lines of warnings.

Damn, you had to pick the week I've only got my 32-bit laptop
connected to open the merge window :-), I thought it might have hit an
-mm but there doesn't seem to be any during the merge window...

I'll get some cross compilers down and try and squeeze them onto it..

drop it and I'll fix it up and resend...

Dave.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[git pull] drm tree with driver changes for 2.6.22-rc1

2007-05-08 Thread Dave Airlie


Hi Linus,

Please pull the 'drm-patches' branch from
git://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-patches

This contains updates to the radeon and via drm drivers and cleans up the
ati pcigart code in order to add support for the integrated rs480 chipsets.

It also pulls in some fixes for via and radeon drivers from the DRI teams.

Hopefully I got the diffstat correct..

Dave.

 drivers/char/drm/ati_pcigart.c  |   84 --
 drivers/char/drm/drmP.h |7 ++-
 drivers/char/drm/drm_drv.c  |   10 ++--
 drivers/char/drm/drm_os_linux.h |3 -
 drivers/char/drm/drm_pciids.h   |1 +
 drivers/char/drm/r128_cce.c |3 +-
 drivers/char/drm/r128_drv.h |2 +
 drivers/char/drm/radeon_cp.c|   71 +++--
 drivers/char/drm/radeon_drm.h   |1 +
 drivers/char/drm/radeon_drv.h   |   24 -
 drivers/char/drm/radeon_state.c |   52 +-
 drivers/char/drm/via_dma.c  |  111 ---
 drivers/char/drm/via_drv.h  |5 +-
 13 files changed, 222 insertions(+), 152 deletions(-)

commit ef68d295508d52e792abf70d4f84461104d33b9d
Author: Thomas Hellstrom thomas-at-tungstengraphics-dot-com
Date:   Tue May 8 15:48:39 2007 +1000

via: Make sure we flush write-combining using a follow-up read.

Signed-off-by: Dave Airlie [EMAIL PROTECTED]


commit a0a6dd0b221260be1e3da725e6b49797e5fa7429
Author: Thomas Hellstrom thomas-at-tungstengraphics-dot-com
Date:   Tue May 8 15:47:41 2007 +1000

via: Try to improve command-buffer chaining.

Bump driver date and patchlevel.

Signed-off-by: Dave Airlie [EMAIL PROTECTED]


commit bc07dc7f07a2f2d4d0aa4ffb9597413ad9137d44
Author: Dave Airlie [EMAIL PROTECTED]
Date:   Tue May 8 15:32:35 2007 +1000

drm: remove old taskqueue remnant

Signed-off-by: Dave Airlie [EMAIL PROTECTED]


commit 0515b93c0ea89eb2120b0ec1d148359da01ad2e5
Author: Dave Airlie [EMAIL PROTECTED]
Date:   Tue May 8 15:28:15 2007 +1000

drm: rename badly named define and cleanup ioctl code spacing

Signed-off-by: Dave Airlie [EMAIL PROTECTED]


commit 453ff94ca502d0a7441912823f20ed130f685429
Author: Michel D??nzer [EMAIL PROTECTED]
Date:   Tue May 8 15:21:14 2007 +1000

radeon: Don't mess up page flipping when a file descriptor is closed.

There can still be other contexts that may use page flipping later on, so do
just unilaterally 'clean it up', which could lead to the wrong page being
displayed, e.g. when running 3D apps with a GLX compositing manager such as
compiz using page flipping.

Signed-off-by: Dave Airlie [EMAIL PROTECTED]


commit f2b04cd219e5c0f1214c0c814ddd08a12c1b
Author: Dave Airlie [EMAIL PROTECTED]
Date:   Tue May 8 15:19:23 2007 +1000

drm/radeon: upgrade to 1.27 - make PCI GART more flexible

radeon: make PCI GART aperture size variable, but making table size variable
This is precursor to getting a TTM backend for this stuff, and also
allows the PCI table to be allocated at fb 0
radeon: add support for reverse engineered xpress200m

The IGPGART setup code was traced using mmio-trace on fglrx by myself
and Phillip Ezolt [EMAIL PROTECTED] on dri-devel.

This code doesn't let the 3D driver work properly as the card has no
vertex shader support.

Thanks to Matthew Garrett + Ubuntu for providing me some hardware to do 
this
work on.

Signed-off-by: Dave Airlie [EMAIL PROTECTED]
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [git pull] drm tree with driver changes for 2.6.22-rc1

2007-05-08 Thread Linus Torvalds


On Tue, 8 May 2007, Dave Airlie wrote:
 
 Please pull the 'drm-patches' branch from
 git://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git 
 drm-patches

That's not a valid URL. master.kernel.org doesn't run the git-daemon. 
Please fix your script.

Linus

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel