Linux-Next discussions
 help / color / mirror / Atom feed
* linux-next: drm tree build failure
@ 2009-01-12  3:12 Stephen Rothwell
  2009-01-12 17:13 ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2009-01-12  3:12 UTC (permalink / raw)
  To: Dave Airlie; +Cc: linux-next, Richard Purdie

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

Hi Dave,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/gpu/drm/i915/i915_dma.c: In function 'i915_initialize':
drivers/gpu/drm/i915/i915_dma.c:183: error: 'drm_i915_init_t' has no member named 'sarea_priv'

Immediate cause is commit 21edb2690395e7a5281d0d5b5b8a9362491c9879
("drm/i915: setup sarea properly in master_priv").

I have dropped the drm tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* linux-next: drm tree build failure
@ 2009-02-04  5:33 Stephen Rothwell
  2009-02-04  8:35 ` Dave Airlie
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2009-02-04  5:33 UTC (permalink / raw)
  To: Dave Airlie; +Cc: linux-next, "Kristian Høgsberg"

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

Hi Dave,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/gpu/drm/radeon/radeon_drv.c:98: error: unknown field 'dri_library_name' specified in initializer
drivers/gpu/drm/radeon/radeon_drv.c:98: warning: initialization from incompatible pointer type

Caused by commit 9a6c3df9d95d4986b55a6de951310aaf9e3c9546 ("drm: Drop
unused and broken dri_library_name sysfs attribute").  Grep is your
friend ...

I have dropped the drm tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* linux-next: drm tree build failure
@ 2008-07-10  6:27 Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2008-07-10  6:27 UTC (permalink / raw)
  To: Dave Airlie; +Cc: linux-next, Sam Ravnborg

Hi Dave,

Today's linux-next build (x86_64 allmodconfig) failed like this:

  Using /scratch/sfr/next as source for kernel
/opt/crosstool/gcc-4.0.2-glibc-2.3.6/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld: drivers/gpu/built-in.o: No such file: No such file or directory

We have:
CONFIG_DRM=m

drivers/gpu/Makefile says:

obj-$(CONFIG_DRM)		+= drm/

I changed it to "obj-y" and it seems to build further.  Sam, is that the
right thing?

It then fails like this:

ERROR: "i830_irq_wait" [drivers/gpu/drm/i830/i830.ko] undefined!
ERROR: "i830_irq_emit" [drivers/gpu/drm/i830/i830.ko] undefined!

Overall, I applied the following patch and subsumed it into the merge.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

>From 0d267993201335a75b9a9ad7c485596b34ce6d28 Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 10 Jul 2008 16:25:18 +1000
Subject: [PATCH] drm: fix fallout from moving stuff around

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/gpu/Makefile          |    2 +-
 drivers/gpu/drm/i830/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/Makefile b/drivers/gpu/Makefile
index 83e2e7a..f2584b7 100644
--- a/drivers/gpu/Makefile
+++ b/drivers/gpu/Makefile
@@ -1 +1 @@
-obj-$(CONFIG_DRM)		+= drm/
+obj-y		+= drm/
diff --git a/drivers/gpu/drm/i830/Makefile b/drivers/gpu/drm/i830/Makefile
index e194029..c642ee0 100644
--- a/drivers/gpu/drm/i830/Makefile
+++ b/drivers/gpu/drm/i830/Makefile
@@ -3,6 +3,6 @@
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
 ccflags-y := -Iinclude/drm
-i830-y := i830_drv.o i830_dma.o
+i830-y := i830_drv.o i830_dma.o i830_irq.o
 
 obj-$(CONFIG_DRM_I830) += i830.o
-- 
1.5.6.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-04  8:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12  3:12 linux-next: drm tree build failure Stephen Rothwell
2009-01-12 17:13 ` Richard Purdie
  -- strict thread matches above, loose matches on Subject: below --
2009-02-04  5:33 Stephen Rothwell
2009-02-04  8:35 ` Dave Airlie
2008-07-10  6:27 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox