[PATCH] add proc structure definitions to header

2008-12-21 Thread Ben Gamari
--- include/drm/drmP.h | 24 +++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 7802c80..efe50b6 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -801,6 +801,25 @@ struct drm_driver { #define DRM_MINO

[PATCH] remove i915 proc hooks

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/i915/i915_drv.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index cbee41c..5f0d8c2 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -124,8 +124,6

[PATCH] add debugfs file implementations

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/drm_debugfs.c | 268 + 1 files changed, 268 insertions(+), 0 deletions(-) create mode 100644 drivers/gpu/drm/drm_debugfs.c diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c new file mode 100644 index 000..1

[PATCH] add debugfs init/cleanup hooks to i915 driver

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/i915/i915_drv.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 5f0d8c2..dbd6352 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -124,6 +124

[PATCH] add i915 debugfs implementation

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/i915/i915_gem_debugfs.c | 778 +++ 1 files changed, 778 insertions(+), 0 deletions(-) create mode 100644 drivers/gpu/drm/i915/i915_gem_debugfs.c diff --git a/drivers/gpu/drm/i915/i915_gem_debugfs.c b/drivers/gpu/drm/i915/i915_gem_debugfs.c new fi

[PATCH 2/13] drivers/gpu/drm/i915: Remove redundant test

2008-12-21 Thread Julia Lawall
From: Julia Lawall object_list is checked to be not NULL near the beginning of the function and is not updated subsequently. A simplified version of the semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // @r exists@ local idexpression x; expression E;

Rework DRM proc file handling [rev 2]

2008-12-21 Thread Ben Gamari
This is the latest patch series reworking the drm proc file handling using seq_file. Like before, I've moved some of the debug-oriented proc files into debugfs, especially those pertaining to i915. Moreover, the series now has a proper git history and is split up better than the previous behemouth

[PATCH] add debugfs hooks to drm_driver struct

2008-12-21 Thread Ben Gamari
--- include/drm/drmP.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 1484797..5070cee 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -765,6 +765,8 @@ struct drm_driver { int (*proc_init)(struct drm_min

[PATCH] add debugfs init hooks

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/drm_stub.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c index 5697764..23f1bca 100644 --- a/drivers/gpu/drm/drm_stub.c +++ b/drivers/gpu/drm/drm_stub.c @@ -50,6 +50,7 @@ struct idr d

[PATCH] add debugfs sources to Makefile

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/Makefile |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 30022c4..2aeaf02 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -10,7 +10,8 @@ drm-y :=drm_auth.o

[PATCH] add DRM_DEBUGFS config option to Kconfig

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/Kconfig |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 6903e54..fd7418a 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -16,6 +16,13 @@ menuconfig DRM details

[PATCH] convert proc files to seq_file

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/drm_proc.c | 723 1 files changed, 264 insertions(+), 459 deletions(-) diff --git a/drivers/gpu/drm/drm_proc.c b/drivers/gpu/drm/drm_proc.c index 7dbaa1a..40e320e 100644 --- a/drivers/gpu/drm/drm_proc.c +++ b/drivers/gpu/drm/drm_pr

[PATCH] correct dev_root reference

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/drm_stub.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c index 592192d..5697764 100644 --- a/drivers/gpu/drm/drm_stub.c +++ b/drivers/gpu/drm/drm_stub.c @@ -312,7 +312,7 @@ static int drm_get_mi

[PATCH] add i915 debugfs code to makefile

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/i915/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile index 6d037ca..5b3bd5e 100644 --- a/drivers/gpu/drm/i915/Makefile +++ b/drivers/gpu/drm/i915/Makefile @@ -7,6 +7,7 @@ i915-y := i

[PATCH] create/remove debugfs roots during driver init/cleanup

2008-12-21 Thread Ben Gamari
--- drivers/gpu/drm/drm_drv.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 0b9f316..cc90440 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -46,9 +46,11 @@ * OTHER DEALINGS

[Bug 12216] Error when drm is loaded

2008-12-21 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12216 airl...@linux.ie changed: What|Removed |Added AssignedTo|drivers_video-...@kernel- |airl...@linux.ie |bug

[Bug 12216] Error when drm is loaded

2008-12-21 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12216 --- Comment #4 from airl...@linux.ie 2008-12-21 15:11 --- Created an attachment (id=19407) --> (http://bugzilla.kernel.org/attachment.cgi?id=19407&action=view) IRQ fix for radeon IRq disabling Can you please test with the attached pat

Re: [PATCH] radeon_cp: use request_firmware

2008-12-21 Thread Dave Airlie
> > Is available at > http://git.infradead.org/users/jaswinder/firm-jsr-2.6.git?a=commit;h=3a911a216742e4ab998f3281409d46a62f252716 > > > Please let me know, should I need to resend this patch for : > 1. git kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6.git > OR > 2. git kernel.org:/pub/

Re: [PATCH 2/13] drivers/gpu/drm/i915: Remove redundant test

2008-12-21 Thread Eric Anholt
On Sun, 2008-12-21 at 16:28 +0100, Julia Lawall wrote: > From: Julia Lawall > > object_list is checked to be not NULL near the beginning of the function and > is not updated subsequently. > > A simplified version of the semantic patch that makes this change is as > follows: (http://www.emn.fr/x-