linux/drivers/gpu/drm/radeon
Dave Airlie f30df2fad0 drm/radeon/r600: fix tiling issues in CS checker.
The CS checker had some incorrect alignment requirements for 2D surfaces,
this made rendering to mipmap levels that were 2D broken.

Also the CB height was being worked out from the BO size, this doesn't work
at all when rendering mipmap levels, instead we work out what height userspace
wanted from slice max and use that to check it fits inside the BO, however
the DDX send the wrong slice max for an unaligned buffer so we have to workaround
for that even though its a userspace bug.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-26 10:26:35 +10:00
..
reg_srcs drm/radeon/kms: allow FG_ALPHA_VALUE on r5xx 2010-08-12 09:13:36 +10:00
.gitignore
atom-bits.h
atom-names.h
atom-types.h
atom.c drm/radeon/kms: add ioport register access 2010-08-02 10:00:07 +10:00
atom.h drm/radeon/kms: add ioport register access 2010-08-02 10:00:07 +10:00
atombios.h drm: radeon cleanup fixes... 2010-09-24 10:12:49 +10:00
atombios_crtc.c drm, kdb, kms: Change mode_set_base_atomic() enter argument to be an enum 2010-10-19 14:13:33 +10:00
atombios_dp.c drm/radeon/kms: rework encoder handling 2010-08-20 08:44:05 +10:00
avivod.h
evergreen.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
evergreen_blit_kms.c drm/radeon/kms: make sure blit addr masks are 64 bit 2010-10-06 14:18:48 +10:00
evergreen_blit_shaders.c drm/radeon/kms: add drm blit support for evergreen 2010-10-06 11:46:30 +10:00
evergreen_blit_shaders.h drm/radeon/kms: add drm blit support for evergreen 2010-10-06 11:46:30 +10:00
evergreen_cs.c drm/radeon/kms: drop taking lock around crtc lookup. 2010-07-22 09:57:13 +10:00
evergreen_reg.h drm/radeon/kms: Add crtc tiling setup support for evergreen 2010-08-02 10:00:02 +10:00
evergreend.h drm/radeon/kms: add drm blit support for evergreen 2010-10-06 11:46:30 +10:00
Kconfig drm/radeon: fix power supply kconfig interaction. 2010-05-21 15:41:20 +10:00
Makefile drm/radeon/kms: add drm blit support for evergreen 2010-10-06 11:46:30 +10:00
mkregtable.c
ObjectID.h
r100.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +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
r100d.h drm/radeon: add basic zmask/hiz support (v4) 2010-08-02 11:54:26 +10:00
r200.c drm/radeon/r200: handle more hw tex coord types 2010-07-01 11:59:22 +10:00
r300.c drm/radeon/kms: enable writeback (v2) 2010-10-06 11:38:08 +10:00
r300_cmdbuf.c drm/radeon: Fix sparc regression in r300_scratch() 2010-04-27 09:40:57 +10:00
r300_reg.h
r300d.h drm/radeon: add basic zmask/hiz support (v4) 2010-08-02 11:54:26 +10:00
r420.c drm/radeon/kms: enable writeback (v2) 2010-10-06 11:38:08 +10:00
r420d.h
r500_reg.h drm/radeon/kms: Add crtc tiling setup support for r6xx/r7xx 2010-08-02 10:00:01 +10:00
r520.c drm/radeon/kms: enable writeback (v2) 2010-10-06 11:38:08 +10:00
r520d.h
r600.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
r600_audio.c drm/radeon/kms: trivial code style fixes for audio 2010-08-02 10:17:10 +10:00
r600_blit.c drm/r600: fix possible NULL pointer derefernce 2010-07-21 10:29:32 +10:00
r600_blit_kms.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
r600_blit_shaders.c drm/radeon: remove viewport transform from r6xx/r7xx blit emit 2010-08-02 10:07:48 +10:00
r600_blit_shaders.h drm/radeon: add some missing copyright headers 2010-09-13 20:26:04 +10:00
r600_cp.c drm/radeon: Fix pci_map_page() error checking 2010-08-12 09:38:29 +10:00
r600_cs.c drm/radeon/r600: fix tiling issues in CS checker. 2010-10-26 10:26:35 +10:00
r600_hdmi.c drm/radeon/kms: enable HDMI audio on RS600/RS690/RS740 2010-08-02 10:00:06 +10:00
r600_reg.h drm/radeon/kms: HDMI irq support 2010-04-23 14:12:17 +10:00
r600d.h drm/radeon/kms/r6xx+: use new style fencing (v3) 2010-10-06 11:38:08 +10:00
radeon.h Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
radeon_acpi.c drm/radeon: tone down overchatty acpi debug messages. 2010-08-04 11:16:56 +10:00
radeon_agp.c drm/radeon/kms: fix agp mode setup on cards that use pcie bridges 2010-08-20 08:48:55 +10:00
radeon_asic.c drm/radeon/kms: add drm blit support for evergreen 2010-10-06 11:46:30 +10:00
radeon_asic.h drm/radeon/kms: add drm blit support for evergreen 2010-10-06 11:46:30 +10:00
radeon_atombios.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
radeon_atpx_handler.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
radeon_benchmark.c
radeon_bios.c Merge branch 'drm-platform' into drm-testing 2010-07-07 18:37:35 +10:00
radeon_clocks.c drm/radeon/kms: remove useless clock code 2010-09-02 11:28:52 +10:00
radeon_combios.c drm/radeon/kms: make TV/DFP table info less verbose 2010-10-12 20:18:05 +10:00
radeon_connectors.c drm/radeon: add properties to configure the width of the underscan borders 2010-10-06 11:46:20 +10:00
radeon_cp.c drm: Remove drm_resource wrappers 2010-06-01 10:07:24 +10:00
radeon_cs.c drm: Use ENOENT consistently for the error return for an unmatched handle. 2010-08-10 10:46:55 +10:00
radeon_cursor.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
radeon_device.c drm/radeon/kms/r6xx+: use new style fencing (v3) 2010-10-06 11:38:08 +10:00
radeon_display.c Revert "radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit" 2010-10-19 14:13:20 +10:00
radeon_drv.c drm/radeon/r600: fix tiling issues in CS checker. 2010-10-26 10:26:35 +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: rework spread spectrum handling 2010-10-06 11:46:26 +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 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
radeon_fence.c drm/radeon/kms/r6xx+: use new style fencing (v3) 2010-10-06 11:38:08 +10:00
radeon_gart.c drm/radeon/kms: simplify & improve GPU reset V2 2010-04-06 11:21:11 +10:00
radeon_gem.c drm/gem: handlecount isn't really a kref so don't make it one. 2010-10-01 09:17:44 +10:00
radeon_i2c.c drm/radeon/kms: use tracked values for sclk and mclk 2010-08-30 09:51:20 +10:00
radeon_ioc32.c
radeon_irq.c
radeon_irq_kms.c drm/radeon/kms: don't enable MSIs on AGP boards 2010-08-20 08:49:37 +10:00
radeon_kms.c drm/radeon: don't allow device to be opened if powered down 2010-09-22 12:32:46 +10:00
radeon_legacy_crtc.c drm, kdb, kms: Change mode_set_base_atomic() enter argument to be an enum 2010-10-19 14:13:33 +10:00
radeon_legacy_encoders.c drm/radeon/kms: rework encoder handling 2010-08-20 08:44:05 +10:00
radeon_legacy_tv.c drm/radeon/kms: move a bunch of modesetting debug to correct debug usage. 2010-08-02 10:47:07 +10:00
radeon_mem.c
radeon_mode.h drm, kdb, kms: Change mode_set_base_atomic() enter argument to be an enum 2010-10-19 14:13:33 +10:00
radeon_object.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
radeon_object.h drm/radeon/kms: Silent spurious error message 2010-10-12 20:18:07 +10:00
radeon_pm.c drm/radeon: Modify radeon_pm_in_vbl to use radeon_get_crtc_scanoutpos() 2010-10-06 11:46:28 +10:00
radeon_reg.h drm/radeon/kms/pm: add asic specific callbacks for setting power state (v2) 2010-05-18 18:20:57 +10:00
radeon_ring.c drm/radeon/kms: enable writeback (v2) 2010-10-06 11:38:08 +10:00
radeon_state.c drm: block userspace under allocating buffer and having drivers overwrite it (v2) 2010-08-17 14:52:25 +10:00
radeon_test.c
radeon_ttm.c drm/ttm: restructure to allow driver to plug in alternate memory manager 2010-10-05 10:01:20 +10:00
rs100d.h
rs400.c drm/radeon/kms: enable writeback (v2) 2010-10-06 11:38:08 +10:00
rs400d.h
rs600.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
rs600d.h drm/radeon/kms: enable misc pm power state features on r5xx, rs6xx 2010-05-18 18:21:42 +10:00
rs690.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
rs690d.h drm/radeon/kms: display watermark updates (v2) 2010-03-31 14:54:47 +10:00
rv200d.h
rv250d.h
rv350d.h
rv515.c drm/radeon/kms: enable writeback (v2) 2010-10-06 11:38:08 +10:00
rv515d.h drm/radeon/kms: simplify & improve GPU reset V2 2010-04-06 11:21:11 +10:00
rv770.c Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next 2010-10-19 09:48:34 +10:00
rv770d.h drm/radeon/kms/r7xx: add workaround for hw issue with HDP flush 2010-08-02 10:06:18 +10:00