[git pull] drm patches for 2.6.19-rc3

From: Dave Airlie
Date: Wed Oct 25 2006 - 14:52:34 EST



Hi Linus,

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

This just contains some bug fixes and a radeon packet verifier improvement,

Dave.

drivers/char/drm/drm_bufs.c | 4 +
drivers/char/drm/drm_sysfs.c | 43 +++++++++++++--
drivers/char/drm/mga_drv.c | 1
drivers/char/drm/r300_cmdbuf.c | 33 +++++++++++-
drivers/char/drm/radeon_state.c | 109 ++++++++++++++++++++++++++++++++++++++-
drivers/char/drm/savage_bci.c | 1
drivers/char/drm/savage_state.c | 2 -
7 files changed, 180 insertions(+), 13 deletions(-)

commit 85abb3f95010b277a6efbc9b8031a7854af87e10
Author: Amol Lad <amol@xxxxxxxxxxxxxxxxxxx>
Date: Wed Oct 25 09:55:34 2006 -0700

drm: ioremap balanced with iounmap for drivers/char/drm

ioremap must be balanced by an iounmap and failing to do so can result
in a memory leak.

Tested (compilation only) to make sure the files are compiling without
any warning/error due to new changes

Signed-off-by: Amol Lad <amol@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Dave Airlie <airlied@xxxxxxxx>

commit 24f73c92a990ecd3d1bb846267780a264d830065
Author: Jeff Garzik <jeff@xxxxxxxxxx>
Date: Tue Oct 10 14:23:37 2006 -0700

drm: fix error returns, sysfs error handling

- callers of drm_sysfs_create() and drm_sysfs_device_add() looked for
errors using IS_ERR(), but the functions themselves only ever returned
NULL on error. Fixed.

- unwind from, and propagate sysfs errors

Signed-off-by: Jeff Garzik <jeff@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
Signed-off-by: Dave Airlie <airlied@xxxxxxxx>

commit 0d960d26c42888cf327df7faa1a8aa62bab53fa4
Author: Dave Jones <davej@xxxxxxxxxx>
Date: Wed Oct 18 00:26:39 2006 -0400

fix return code in error case.

The other failure returns in this function are negative, so make
this one do the same.

Signed-off-by: Dave Jones <davej@xxxxxxxxxx>
Signed-off-by: Dave Airlie <airlied@xxxxxxxx>

commit 958de71b1ab01c20c1b385035235746c9227b24f
Author: Tilman Sauerbeck <tilman@xxxxxxxxxxxxxx>
Date: Tue Oct 24 21:52:23 2006 +1000

drm: mga: set dev_priv_size

fd.o bug 1746

Signed-off-by: Dave Airlie <airlied@xxxxxxxx>

commit 10eee0fe9114694401c7ae154e8cfb2ab2f59c10
Author: Michael Karcher <freedesktop-bugzilla@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Oct 24 21:46:55 2006 +1000

drm: savage: dev->agp_buffer_map is not initialized for AGP DMA on savages

fd.o bug 8662

Signed-off-by: Dave Airlie <airlied@xxxxxxxx>

commit a1aa28970316d7fb606321d5ab7fb3873641ab54
Author: Roland Scheidegger <rscheidegger_lists@xxxxxxxxxx>
Date: Tue Oct 24 21:45:00 2006 +1000

drm: radeon: only allow specific type-3 packetss through verifier

only allow specific type-3 packets to pass the verifier instead of all for r100/r200 as others might be unsafe (r300 already does this), and add checking for these we need but aren't safe. Check the RADEON_CP_INDX_BUFFER packet on both r200 and r300 as it isn't safe neither.

Signed-off-by: Dave Airlie <airlied@xxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/