summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-02-11kms/exa: UTS/DFS base alignment fixesAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-11Xv: fix textured video alignment harderAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-11Xv: fix textured video alignmentAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-11kms: remove RADEON_TILING_SURFACE flag on front boAlex Deucher
Should have been removed in: ef9bfb262db7004bef3704e5d914687e50d3fca4 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-11EXA/r6xx+: properly account for height alignment in copy temp bufferAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-10remove EVERGREENSetAccelState()Alex Deucher
It was a duplicate of the R600 variant. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-106xx+: switch to linear aligned rather than linear generalAlex Deucher
linear aligned is supposedly more performant, but more importantly, linear general only works on the CB without slices. The texture blocks technically don't support linear general although, I think linear general gets upgraded to linear aligned in the hw which is why it currently works. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-10evergreen/NI: consolidate spi setupAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-106xx/7xx: consolidate spi setupAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-10evergreen/ni: consolidate CB state handlingAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-106xx/7xx: consolidate remaining CB stateAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-10kms/r6xx+: clean up pitch/height alignment in EXA UTS/DFSAlex Deucher
2011-02-05UMS: fix spelling in error messageAlex Deucher
Noticed by: Warren Block <wblock@wonkity.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-05UMS/DCE3.2: fix segfaultAlex Deucher
atombios_pick_dig_encoder() needs to be called with a valid crtc assigned. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-01kms/pre-6xx: fix pageflipping with tilingAlex Deucher
Use UTS/DFS to tile/untile as appropriate for sw access on pre-6xx. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33738 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-01kms/r6xx+: fix tiling and pageflipping harderAlex Deucher
Thanks for Michel for final fix. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33738 for r6xx+ asics. A similar approach for pre-r6xx asics is pending. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-01radeon: remove device 0x4243Alex Deucher
0x4243 is a PCI bridge, not a gpu. See: https://bugs.freedesktop.org/show_bug.cgi?id=33815 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-31UMS: Slightly improve xserver version check.Michel Dänzer
This will ensure the xserver definitions necessary to compile the new code are there. xf86CrtcSetMode will be unresolved at runtime with a few xserver commits, but I'm afraid this is the best we can do. See https://bugs.freedesktop.org/show_bug.cgi?id=33719 .
2011-01-27ums: fix build against xserver >= 1.10Alex Deucher
xf86CrtcSetMode was removed in: http://cgit.freedesktop.org/xorg/xserver/commit/?id=8b35118c03590a7ad3786d3284bafb3f40fcb8cc
2011-01-26dp: fix displayport support by syncing with KMS codeJerome Glisse
Warning the dp clock value are divided by 10 in ddx (10 times bigger than kernel value) this is somethings very picky. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-01-24vbo: warn if we add a bo with a pointer to the wait listAlex Deucher
2011-01-24vbo: always flush the cbuf bo in flush_indirect()Alex Deucher
Always flush the cbuf in case we end up with a cbuf mapped in Prepare*(), but never end up issuing a draw call since the cbuf may be in use by multiple ops. The CS check for the cbuf bo is no longer necessay because the cbuf bo is NULL at this point due to the radeon_vbo_put() just prior. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=32188
2011-01-24vbo: avoid extra cs revalidation in vbo allocAlex Deucher
Make sure we have a valid bo before revalidating.
2011-01-21vbo: balance radeon_vbo_get() and radeon_vbo_put()Alex Deucher
bo_ref() and bo_map() in radeon_vbo_get() bo_unmap() and bo_unref() in radeon_vbo_put() rather than doing the bo_map() separately in radeon_vbo_space().
2011-01-21evergreen: use vb_offset rather than vb_start_op for cbuf offsetAlex Deucher
2011-01-21vbo: remove useless radeon_vb_discard()Alex Deucher
We already reset vb_start_op to -1 in the UMS/KMS ib discard functions.
2011-01-20evergreen/ni: fix Xv artifactsAlex Deucher
Port of the 6xx/7xx fix to evergreen. Bad texture size for texture cache flush.
2011-01-20r6xx/7xx: fix Xv artifactsMarton Balint
bad textures size for cache flushes. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=22007
2011-01-18Fix crash freeing KMS video memory.Michel Dänzer
Where's that brown paper bag? :}
2011-01-18Fix KMS textured video leaks (bug #33193).Michel Dänzer
v2: Fix radeon_legacy_free_memory() argument type error pointed out by Marton Balint, refactor video memory freeing logic into helper function. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=33193 .
2011-01-17radeon: add back flush in block handler.Dave Airlie
this is also needed for certain things like stipple rendering. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-13rs880 fix typo in HD 4250 stringAlex Deucher
Noticed by Nigel Taylor Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33057
2011-01-11kms: fix pitch aligment for scanoutAlex Deucher
Display has slightly stricter pitch alignment requirements than other blocks. Factor that in when aligning pitch. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=32997
2011-01-11radeon: fix yet another pitch alignAlex Deucher
2011-01-11radeon: fix pitch align in pageflip codeAlex Deucher
2011-01-10Merge branch 'kms-pflip' of ↵Alex Deucher
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-ati
2011-01-06NI: add pci idsAlex Deucher
2011-01-06Add EXA/Xv acceleration support for NI chipsAlex Deucher
2011-01-06Bail on NI cards with UMSAlex Deucher
NI cards require KMS.
2011-01-06add NI family idsAlex Deucher
2010-12-19ddx/ati: Bugfix for pageflip consistency check.Mario Kleiner
target_msc wasn't passed from vblank event handler to pageflip routine, due to a missing initalization. Now fixed. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-12-17exa/dfs/ontario: always use the CPU for DFS for nowAlex Deucher
There are issues with rendering to gart memory that haven't been sorted out completely yet.
2010-12-16DCE4.1: fix DIGx routingAlex Deucher
Works more like DCE4.0. With only two DIGx blocks the routing is hardcoded based on link. This fixes blank screen issues when changing crtc routing due to incorrect crtc to dig mapping. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-12-03Add missing call to vbeFree (bug 4417)Matt Turner
Also kill unneeded vbe.h include from radeon_bios.c. Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-12-03radeon: remove duplicated defineAlex Deucher
xfixedtofloat macro was defined several times
2010-12-03radeon/exa: fallback for non-affine transformsAlex Deucher
We need to implement a texture lookup with perspective divide for non-affine transforms. For now just fallback. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=31799 although it appears either EXA or the xserver gets this wrong too.
2010-12-01ddx/ati: Fix reporting of pageflip completion events on multi-head.Mario Kleiner
When a drawable is page-flipped on multiple crtc's (fullscreen drawable on mirror-mode or multi-head x-screen), only one pageflip event is finally delivered, after the last participating crtc signals flip completion, this to avoid visual corruption. Old code returned vblank count and timestamps of flip completion of this last crtc, instead of the values of the "master crtc", the one that was used for initially scheduling/triggering the pagflip via vblank events. (master = radeon_dri2_drawable_crtc(drawable)) This patch makes sure that the pageflip completion values of the "master" crtc are returned, otherwise client applications will get confused by the random (msc, ust) values returned by whichever crtc was the last to complete its flip. Without this, the returned values change randomly and jump forward and backward in time and count. The patch also implements a consistency check on returned vblank count values of pageflip completion. Impossible values are detected, a x-warning is logged and returned (msc,ust) values are marked invalid, so clients could perform error handling. Such a warning would indicate bugs in the pageflip completion routine of future kms drivers or the ddx to aid driver debugging. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-12-01ddx/ati: Add option "SwapbuffersWait" to control vsync of DRI2 swaps.Mario Kleiner
A new optional kms driver option "SwapbuffersWait" is defined for xorg.conf, which defaults to "on". If "on", DRI2 bufferswaps will be synchronized to vsync, otherwise not. This currently only affects copy-swaps, not pageflipped swaps. It also requires a swap_interval setting of zero by the OpenGL client. Ideally, we'd provide a way for dri2 to pass the current swap interval to the ddx so we could change this dynamically. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-12-01radeon/kms: add pageflip supportAlex Deucher
requires radeon drm 2.8.0 or higher Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-01radeon/kms: allow tiled front buffer on 6xx/7xxAlex Deucher
Use UTS/DFS to tile/untile as appropriate for sw access. Also enables pageflipping with tiling enabled.