linux/drivers/gpu/drm/radeon
Jean Delvare c9ff04c941 drm/radeon: Fix 3 regressions - since buffer rework
Commit b4fe945405 introduced 3 bugs,
fix them:

* Use the right command dword for second packet offset in
  RADEON_CNTL_PAINT/BITBLT_MULTI.
* Don't leak memory if drm_buffer_copy_from_user() fails.
* Don't call drm_buffer_unprocessed() unless drm_buffer_alloc() and
  drm_buffer_copy_from_user() have been called successfully first.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Pauli Nieminen <suokkos@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-05-11 14:01:48 +10:00
..
reg_srcs drm/radeon/kms: allow R500 regs VAP_ALT_NUM_VERTICES and VAP_INDEX_OFFSET 2010-04-19 14:17:02 +10:00
.gitignore drm: create gitignore file for radeon 2009-09-25 13:08:21 +10:00
atom-bits.h drm/radeon: introduce kernel modesetting for radeon hardware 2009-06-15 12:01:53 +10:00
atom-names.h drm/radeon: introduce kernel modesetting for radeon hardware 2009-06-15 12:01:53 +10:00
atom-types.h drm/radeon: introduce kernel modesetting for radeon hardware 2009-06-15 12:01:53 +10:00
atom.c drm/radeon/kms: more atom parser fixes (v2) 2010-04-10 08:52:32 +10:00
atom.h drm/radeon/kms/atom: make sure tables are valid (v2) 2010-03-31 13:11:29 +10:00
atombios_crtc.c drm/radeon/kms: adjust pll settings for tv 2010-04-19 13:52:43 +10:00
atombios_dp.c drm/radeon/kms/dp: disable training pattern on the sink at the end of link training 2010-03-31 13:14:08 +10:00
atombios.h drivers/gpu/drm/radeon/radeon_atombios.c: range check issues 2010-04-28 18:41:54 +10:00
avivod.h [rfc] drm/radeon/kms: pm debugging check for vbl. 2010-02-23 09:46:21 +10:00
evergreen_reg.h drm/radeon/kms: add initial Evergreen support (Radeon HD 5xxx) 2010-02-09 09:44:02 +10:00
evergreen.c drm/radeon/kms: display watermark fixes 2010-03-31 13:02:06 +10:00
Kconfig drm/radeon/kms: change Kconfig text to reflect the new option. 2010-02-08 15:05:58 +10:00
Makefile drm/radeon: create radeon_asic.c 2010-03-15 11:27:03 +10:00
mkregtable.c drm/radeon: mkregtable.c: close a file before exit 2010-01-08 13:11:55 +10:00
ObjectID.h drm/radeon/kms: pull in the latest upstream ObjectID.h changes 2010-01-08 13:03:57 +10:00
r100_track.h drm/radeon/kms: r300 fix CS checker to allow zbuffer-only fastfill 2010-04-28 17:20:41 +10:00
r100.c drm/radeon/kms: r300 fix CS checker to allow zbuffer-only fastfill 2010-04-28 17:20:41 +10:00
r100d.h drm/radeon/kms: Convert R100 to new init path (V2) 2009-10-02 08:51:49 +10:00
r200.c drm/radeon: include radeon_asic.h in the asic specific files 2010-03-15 11:27:22 +10:00
r300_cmdbuf.c drm/radeon: Fix sparc regression in r300_scratch() 2010-04-27 09:40:57 +10:00
r300_reg.h drm/radeon/kms: add support for square microtiles on r3xx-r5xx 2010-02-25 11:36:12 +10:00
r300.c drm/radeon/kms: r300 fix CS checker to allow zbuffer-only fastfill 2010-04-28 17:20:41 +10:00
r300d.h drm/radeon/kms: Convert R300 to new init path 2009-10-02 08:51:48 +10:00
r420.c drm/radeon: 9800 SE has only one quadpipe 2010-04-23 13:54:59 +10:00
r420d.h drm/radeon/kms: Convert RS400/RS480 to new init path & fix legacy VGA (V3) 2009-10-02 08:51:46 +10:00
r500_reg.h drm/radeon/kms: add support for hw i2c on r1xx-r5xx 2010-02-09 09:31:10 +10:00
r520.c drm/radeon/kms: display watermark fixes 2010-03-31 13:02:06 +10:00
r520d.h drm/radeon/kms: Convert R520 to new init path and associated cleanup 2009-09-29 11:15:56 +10:00
r600_audio.c drm/radeon/kms/evergreen: don't enable hdmi audio stuff 2010-04-19 11:59:41 +10:00
r600_blit_kms.c drm/radeon: use ALIGN instead of open coding it 2010-03-01 15:56:41 +10:00
r600_blit_shaders.c drm/radeon/r600: add missing license and comments to r600_blit_shaders.c 2010-03-15 10:07:38 +10:00
r600_blit_shaders.h drm/radeon/kms: add r600 KMS support 2009-09-08 11:15:52 +10:00
r600_blit.c drm/radeon: use ALIGN instead of open coding it 2010-03-01 15:56:41 +10:00
r600_cp.c drm/radeon/kms: gfx init fixes for r6xx/r7xx 2010-03-31 09:53:53 +10:00
r600_cs.c drm/radeon/r6xx/r7xx: CS parser fixes 2010-03-31 13:12:17 +10:00
r600_hdmi.c drm/radeon/kms/evergreen: don't enable hdmi audio stuff 2010-04-19 11:59:41 +10:00
r600_reg.h drm/radeon/kms: clean HDMI definitions 2010-03-15 10:01:40 +10:00
r600.c drm/radeon/kms: fix some typos in r6xx/r7xx hpd setup 2010-03-31 13:12:10 +10:00
r600d.h drm/radeon/r6xx/r7xx: CS parser fixes 2010-03-31 13:12:17 +10:00
radeon_agp.c drm/radeon/kms/agp The wrong AGP chipset can cause a NULL pointer dereference 2010-04-28 17:22:50 +10:00
radeon_asic.c drm/radeon/kms: display watermark fixes 2010-03-31 13:02:06 +10:00
radeon_asic.h drm/radeon: collect r100 asic related declarations in radeon_asic.h 2010-03-15 11:27:29 +10:00
radeon_atombios.c drivers/gpu/drm/radeon/radeon_atombios.c: range check issues 2010-04-28 18:41:54 +10:00
radeon_atpx_handler.c vga_switcheroo: fix build on platforms with no ACPI 2010-03-01 22:21:58 +11:00
radeon_benchmark.c drm/radeon: Skip dma copy test in benchmark if card doesn't have dma engine. 2010-02-11 13:13:25 +10:00
radeon_bios.c Merge branch 'gpu-switcher' of /ssd/git//linux-2.6 into drm-next-stage 2010-03-01 16:22:38 +10:00
radeon_clocks.c drm/radeon/kms: add initial Evergreen support (Radeon HD 5xxx) 2010-02-09 09:44:02 +10:00
radeon_combios.c drm/radeon/kms/combios: verify dac_adj values are valid 2010-04-07 10:13:18 +10:00
radeon_connectors.c drm/radeon/kms/legacy: only enable load detection property on DVI-I 2010-05-05 11:28:11 +10:00
radeon_cp.c drm/radeon: 9800 SE has only one quadpipe 2010-04-23 13:54:59 +10:00
radeon_cs.c drm/radeon/kms: Fix NULL pointer dereference if memory allocation failed. 2010-03-31 13:11:53 +10:00
radeon_cursor.c Merge remote branch 'korg/drm-radeon-testing' into drm-next-stage 2010-02-26 16:23:23 +10:00
radeon_device.c drm/radeon/kms: print GPU family and device id when loading 2010-04-19 11:25:24 +10:00
radeon_display.c drm/radeon/kms/evergreen: fix LUT setup 2010-04-23 13:29:35 +10:00
radeon_drv.c drm/radeon: async event synchronization for drmWaitVblank 2010-05-07 09:16:56 +10:00
radeon_drv.h drm/radeon: bump the UMS driver version for r6xx/r7xx const buffer support 2010-03-31 13:12:28 +10:00
radeon_encoders.c drm/radeon/kms: fix panel scaling adjusted mode setup 2010-05-05 11:27:59 +10:00
radeon_family.h drm/radeon/kms: print GPU family and device id when loading 2010-04-19 11:25:24 +10:00
radeon_fb.c Merge branch 'gpu-switcher' of /ssd/git//linux-2.6 into drm-next-stage 2010-03-01 16:22:38 +10:00
radeon_fence.c drm/radeon/radeon_fence.c: move a dereference below the NULL test 2010-01-07 13:54:39 +10:00
radeon_fixed.h drm/radeon/kms/avivo: fix some bugs in the display bandwidth setup 2009-12-10 15:09:05 +10:00
radeon_gart.c drm/radeon/kms: set gart pages to invalid on unbind and point to dummy page 2010-02-11 19:11:32 +10:00
radeon_gem.c Use drm_gem_object_[handle_]unreference_unlocked where possible 2010-02-11 14:22:34 +10:00
radeon_i2c.c drm/radeon/kms: add hw_i2c module option 2010-03-31 14:55:52 +10:00
radeon_ioc32.c drm: convert drm_ioctl to unlocked_ioctl 2009-12-18 11:22:31 +10:00
radeon_irq_kms.c drm/radeon/kms: disable MSI on IGP chips 2010-03-31 14:55:02 +10:00
radeon_irq.c gpu/drm/radeon/radeon_irq.c: move a dereference below a NULL test 2010-01-07 13:56:32 +10:00
radeon_kms.c drm/radeon/kms: don't print error for legal crtcs. 2010-04-23 13:29:43 +10:00
radeon_legacy_crtc.c drm/radeon/kms/rs4xx: make sure crtcs are enabled when setting timing 2010-03-15 09:59:24 +10:00
radeon_legacy_encoders.c drm/radeon/kms: fix panel scaling adjusted mode setup 2010-05-05 11:27:59 +10:00
radeon_legacy_tv.c drm/radeon/kms: fix pal tv-out support on legacy IGP chips 2010-03-15 09:57:42 +10:00
radeon_mem.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
radeon_mode.h drm/radeon/kms: fix panel scaling adjusted mode setup 2010-05-05 11:27:59 +10:00
radeon_object.c drm/radeon/kms: Only restrict BO to visible VRAM size when pinning to VRAM. 2010-03-31 13:12:59 +10:00
radeon_object.h drm/radeon/kms: fix bo's fence association 2010-02-18 15:07:04 +10:00
radeon_pm.c drm/radeon/kms/pm: fix segfault in clock code 2010-03-31 09:53:46 +10:00
radeon_reg.h drm/radeon/kms: enable ACPI powermanagement mode on radeon gpus. 2010-04-01 12:50:46 +10:00
radeon_ring.c Merge remote branch 'korg/drm-radeon-testing' into drm-next-stage 2010-02-26 16:23:23 +10:00
radeon_state.c drm/radeon: Fix 3 regressions - since buffer rework 2010-05-11 14:01:48 +10:00
radeon_test.c drm/radeon/kms: simplify memory controller setup V2 2010-02-18 14:49:35 +10:00
radeon_ttm.c Merge remote branch 'korg/drm-radeon-testing' into drm-next-stage 2010-02-26 16:23:23 +10:00
radeon.h drm/radeon/kms: add hw_i2c module option 2010-03-31 14:55:52 +10:00
rs100d.h drm/radeon/kms: Convert R100 to new init path (V2) 2009-10-02 08:51:49 +10:00
rs400.c drm/radeon/kms: rs400/480 should set common registers. 2010-04-01 12:50:28 +10:00
rs400d.h drm/radeon/kms: Convert RS400/RS480 to new init path & fix legacy VGA (V3) 2009-10-02 08:51:46 +10:00
rs600.c drm/radeon/kms: fix rs600 tlb flush 2010-04-19 11:26:13 +10:00
rs600d.h drm/radeon/kms: display watermark updates (v2) 2010-03-31 14:54:47 +10:00
rs690.c drm/radeon/kms: display watermark updates (v2) 2010-03-31 14:54:47 +10:00
rs690d.h drm/radeon/kms: display watermark updates (v2) 2010-03-31 14:54:47 +10:00
rv200d.h drm/radeon/kms: Convert R100 to new init path (V2) 2009-10-02 08:51:49 +10:00
rv250d.h drm/radeon/kms: Convert R100 to new init path (V2) 2009-10-02 08:51:49 +10:00
rv350d.h drm/radeon/kms: Convert RS400/RS480 to new init path & fix legacy VGA (V3) 2009-10-02 08:51:46 +10:00
rv515.c drm/radeon/kms: display watermark updates (v2) 2010-03-31 14:54:47 +10:00
rv515d.h drm/radeon/kms: Convert RV515 to new init path and associated cleanup 2009-09-29 11:15:54 +10:00
rv770.c drm/radeon/kms: avoid possible oops (call gart_fini before gart_disable) 2010-03-31 13:11:42 +10:00
rv770d.h drm/radeon/kms: add initial Evergreen support (Radeon HD 5xxx) 2010-02-09 09:44:02 +10:00