Mailinglist Archive: radeonhd (307 mails)

< Previous Next >
[radeonhd] xf86-video-radeonhd:master: 97 commit(s)
  • From: agd5f@xxxxxxxxxxxxxxxxxxxxxx (Alex Deucher)
  • Date: Fri, 27 Feb 2009 08:43:56 -0800 (PST)
  • Message-id: <20090227164358.C798E10096@xxxxxxxxxxxxxxxxxxxxxx>
Reporting from xf86-video-radeonhd: Radeon HD video driver

Please visit:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd
Or get your own copy by using:
git-clone git://anongit.freedesktop.org/xorg/driver/xf86-video-radeonhd

97 commits against master at 047bd705...:
src/Makefile.am | 8
src/r600_exa.c | 4345 +++++++++++++++++++++++++++++++++++++++++
src/r600_reg.h | 140 +
src/r600_reg_auto_r6xx.h | 3087 +++++++++++++++++++++++++++++
src/r600_reg_r6xx.h | 495 ++++
src/r600_reg_r7xx.h | 149 +
src/r600_shader.h | 346 +++
src/r600_state.h | 229 ++
src/r600_textured_videofuncs.c | 537 +++++
src/r6xx_accel.c | 1294 ++++++++++++
src/r6xx_accel.h | 110 +
src/radeon_exa_render.c | 2
src/rhd_cs.c | 19
src/rhd_dri.c | 149 -
src/rhd_driver.c | 33
src/rhd_regs.h | 4
src/rhd_video.c | 125 -
src/rhd_video.h | 6
18 files changed, 10992 insertions(+), 86 deletions(-)


commit 10c211913de10bb4c7ec0747671f1b3e61231674
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Feb 27 11:34:20 2009 -0500

Only pad the IB on r6xx+

diffstat:
src/rhd_cs.c | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit f10c8c797f3a0b53625cf8850b949fb304bcc4da
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Feb 25 22:44:32 2009 -0500

CloseScreen(): Don't mess with the engine if the xserver isn't active

This fixes problems with killing X when accel is active and the server
is switched away.

diffstat:
src/rhd_driver.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit a900f07b64bebe26d66b02decb146391937ea18d
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Feb 25 09:20:03 2009 -0500

R6xx/R7xx EXA: same surface and same coords equals nop

diffstat:
src/r600_exa.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit fdf6150ad9988b2e6e391c54b2f5fb9bc1cda837
Author: Christian Koenig <deathsimple@xxxxxxxxxxx>
Date: Tue Feb 24 16:57:48 2009 -0500

R6xx/R7xx: Bugfix for wait_vline_range

Check if CurrentiMode is set, not if Active is true.

diffstat:
src/r6xx_accel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit c16e74a2d36781fee495a72005a2decfec0d1b91
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Feb 24 11:06:32 2009 -0500

R6xx/R7xx EXA: optimize overlapping copy using temp surface

- allocate temp surface in PrepareCopy()
- fallback to old OverlapCopy() path is we're not able to
allocate a temp surface

diffstat:
src/r600_exa.c | 50 ++++++++++++++++++++++++++------------------------
1 file changed, 26 insertions(+), 24 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 435e159d5c15ff3f6631d038e02860681c541eb5
Author: Mark van Doesburg <mark.vandoesburg@xxxxxxxxx>
Date: Tue Feb 24 11:01:56 2009 -0500

R6xx/R7xx EXA: use a temp surface for overlapping copies

diffstat:
src/r600_exa.c | 50 +++++++++++++++++++++++++++++++++++++++++++-------
src/r6xx_accel.h | 1 +
2 files changed, 44 insertions(+), 7 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 0de4db723c4d9bd40dcaa7fd79b507f7fe9270aa
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Feb 24 10:10:08 2009 -0500

R6xx/R7xx EXA: switch to surface sync packet

diffstat:
src/r6xx_accel.c | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit db97dd5db4f95c0c4e056a4a7c3e9055dce337c1
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Feb 24 03:11:36 2009 -0500

r7xx: Fix typo in cmd fifo mask

diffstat:
src/r600_reg_r6xx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 33a84c9b4fddc5bb396ec90b93e174e0a1a4f91b
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 23 19:06:22 2009 -0500

R6xx/R7xx: add wait for idle MMIO path

diffstat:
src/r600_reg_r6xx.h | 3 +
src/r6xx_accel.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
src/r6xx_accel.h | 4 ++
src/rhd_driver.c | 14 ++++++-
4 files changed, 104 insertions(+), 4 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit c2b2155fcc499a253bef99e2462369162640a37c
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 23 18:35:04 2009 -0500

R6xx/R7xx: reset 3D state after VT switch

diffstat:
src/rhd_driver.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit ca198357d3f3f9906d35585f3e22bfd00e92d2ec
Author: Christian Koenig <deathsimple@xxxxxxxxxxx>
Date: Mon Feb 23 10:14:39 2009 -0500

R6xx/R7xx: Improve wait_vline_range

Make shure the given crtc is active and the range we are waiting for is
in the visible area of this crtc.

diffstat:
src/r6xx_accel.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 793cebe3dccc176da1c326b6be979d63d09b3ba5
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Feb 18 20:23:55 2009 -0500

R6xx/R7xx EXA/Xv: properly deal with running out of vertex buffer space

As noted by mhopf, if VGT_MAX/MIN_INDX, etc. regs change, you need to
re-emit
CB blocks to avoid a hang. So, just set the VGT_MAX_INDX to a reasonably
large value
in the default state and don't touch them when drawing. When we run out of
VB space,
just draw the current buffer, grab a new one, and continue.

diffstat:
src/r600_exa.c | 68 ++++++-----------
src/r600_textured_videofuncs.c | 142 +++++++++++++++++++------------------
src/r6xx_accel.c | 2
3 files changed, 100 insertions(+), 112 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit ef9225f75d8376d1f648b1f673ee5f25fe40564c
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Feb 12 17:47:44 2009 -0500

R6xx/R7xx: switch to drm for wait for idle

THIS REQUIRES AN UPDATED DRM

diffstat:
src/r600_exa.c | 25 ++++---------------------
1 file changed, 4 insertions(+), 21 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 1442be75b3a8f72dbbd4c33b4c92d7754999e4b2
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Feb 12 15:16:27 2009 -0500

R6xx/R7xx EXA: handle running out of vertex space in the copy path

diffstat:
src/r600_exa.c | 35 ++++++++++++++++++++++++++++-------
src/r6xx_accel.h | 5 +++++
2 files changed, 33 insertions(+), 7 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit e16691af2a4e35b14fbbc39aed1d527d21c80ad6
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Feb 12 15:09:15 2009 -0500

R6xx/R7xx EXA: properly handle non repeat cases in the texture setup

diffstat:
src/r600_exa.c | 50 ++++++++++++++++++++++++--------------------------
1 file changed, 24 insertions(+), 26 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 976d651b7f472ef44eecb8ef07b1ab8675418c19
Author: Yang Zhao <yang@xxxxxxxxxx>
Date: Thu Feb 12 14:52:22 2009 -0500

R6xx/R7xx EXA: Further optimizations to overlapping copy

Diagonal overlapping copies can be reduced to either horizontal- or
vertical-only offset, and the one with fewer copies is picked.

diffstat:
src/r600_exa.c | 103 ++++++++++++++++++++++++++++++++---------------------
1 file changed, 63 insertions(+), 40 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit f02dd7cbc523160aedaa21599234c58c53447dc1
Author: Christian Koenig <deathsimple@xxxxxxxxxxx>
Date: Wed Feb 11 18:13:47 2009 -0500

R6xx/R7xx: Cleanup register definitions

Comment every definition in r600_reg_r6xx.h and r600_reg_r7xx.h which
is also in rhd_regs.h, making it possible to include both files at the same
time.

diffstat:
src/r600_reg_r6xx.h | 10 +++++-----
src/r600_reg_r7xx.h | 2 +-
src/r6xx_accel.c | 8 +-------
src/rhd_regs.h | 4 ++++
4 files changed, 11 insertions(+), 13 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit b9e0ef98ba846d8051e1ee7ad685e98394579493
Author: Christian Koenig <deathsimple@xxxxxxxxxxx>
Date: Wed Feb 11 18:10:22 2009 -0500

R6xx/R7xx: Implements wait_vline_range

Implements wait_vline_range function and use this in
R600DisplayTexturedVideo. Also fixes a nasty bug in "ereg".

Based on radeon patch from Pierre Ossman.

diffstat:
src/r600_state.h | 2 +
src/r600_textured_videofuncs.c | 8 +++++++
src/r6xx_accel.c | 42 ++++++++++++++++++++++++++++++++++++-
3 files changed, 51 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 47f375d7dee8a5291b87edc7d14238134be6ae15
Author: Christian Koenig <deathsimple@xxxxxxxxxxx>
Date: Wed Feb 11 18:09:33 2009 -0500

R6xx/R7xx: Define WAIT_x constants for IT_WAIT_REG_MEM

And also fix some compiler warnings.

diffstat:
src/r600_reg.h | 24 +++++++++++++++++++-----
src/r6xx_accel.c | 3 ++-
2 files changed, 21 insertions(+), 6 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 936838143d5431f6a0b33c6a396ad0ff44cf9c35
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Feb 11 15:25:17 2009 -0500

R6xx/R7xx Xv: switch packed over to Yang's new shader code

diffstat:
src/r600_exa.c | 204 +++++++++++++++++--------------------
src/r600_textured_videofuncs.c | 2
2 files changed, 99 insertions(+), 107 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit e315314c98ae7750fe5107625f35976697e4fa79
Author: Yang Zhao <yang@xxxxxxxxxx>
Date: Mon Feb 9 22:28:03 2009 -0800

R6xx/R7xx Xv: Planar - Properly scale Y'CbCr values before converting to RGB

According to MPEG-2 spec, Y' and Cb/Cr values are scaled to [16, 235]
and [16, 240], respectively, when packed into bytes. Properly take care
of the reverse scaling before translating to RGB.

Conversion matrix has been simplified to remove 3rd column, as the fitting
to [-0.5, 0.5] can be done with scaling.

Redundant MOV instructions were also removed, and now only 3 GPRs are
required.

diffstat:
src/r600_exa.c | 204 +++++++++++++++++--------------------
src/r600_textured_videofuncs.c | 13 +-
2 files changed, 108 insertions(+), 109 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 8dc7161ce426fb3968bba02d62db0a9980b26197
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Feb 11 13:14:01 2009 -0500

R6xx/R7xx: be more verbose about what function ran out of VB space

diffstat:
src/r600_exa.c | 8 ++++----
src/r600_textured_videofuncs.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 78c0f342282a1105ec30305dc2a44324702b151e
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Feb 11 12:52:33 2009 -0500

R6xx/R7xx: move engine idle to sync function

diffstat:
src/r600_exa.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit a04e5b212523d877cd6591c367125745c27049c7
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Feb 11 11:45:18 2009 -0500

R6xx/R7xx Xv: add support for packed uploads

diffstat:
src/rhd_video.c | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 4205f30ae97c4771078988c6494f82a0d7e1f8de
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Feb 11 11:40:23 2009 -0500

R6xx/R7xx Xv: Add native support for packed formats

diffstat:
src/r600_exa.c | 6 +--
src/r600_textured_videofuncs.c | 41 +++++++++++++-------------
src/r6xx_accel.h | 2 -
src/rhd_video.c | 58 +++++++++++++------------------------
4 files changed, 46 insertions(+), 61 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit d4079f7a68392fe0486c0ea0ddd6f2ca6d376149
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Feb 10 19:38:12 2009 -0500

M82: Missed one in the previous commit

diffstat:
src/r600_textured_videofuncs.c | 1 +
1 file changed, 1 insertion(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 7ea3e14f4a3904ab2c5d858d26d23c793f393ade
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Feb 10 17:21:02 2009 -0500

R6xx/R7xx: fix M82

M82 is an RV620

diffstat:
src/r600_exa.c | 3 +++
src/r6xx_accel.c | 2 ++
2 files changed, 5 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 47c57d1d994a9427b3e6068326eeb5971d2664cf
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 9 19:57:30 2009 -0500

R6xx/R7xx: Add checks to make sure we don't overrun VB space

diffstat:
src/r600_exa.c | 20 ++++++++++++++++++++
src/r600_textured_videofuncs.c | 5 +++++
2 files changed, 25 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 531de3518857e585c869c1d4c004ff2174984389
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 9 14:09:24 2009 -0500

R6xx/R7xx Xv: switch to native planar shader and add accelerated planar
uploads

diffstat:
src/r600_exa.c | 575 ++++++++++++++++++++++++++++++++++++-
src/r600_textured_videofuncs.c | 276 ++++++++++++-----
src/r6xx_accel.h | 3
src/rhd_video.c | 80 ++---
src/rhd_video.h | 5
5 files changed, 816 insertions(+), 123 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 4e574120feec720dc1086596bf1b2a315a1f1e0e
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 9 13:33:13 2009 -0500

R6xx/R7xx UTS: move actual upload to separate function

So it can be shared with Xv

diffstat:
src/r600_exa.c | 30 ++++++++++++++++++++++--------
1 file changed, 22 insertions(+), 8 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 916a3a08255aeda24987ae32cc1369c0c10b7bcd
Author: Yang Zhao <yang@xxxxxxxxxx>
Date: Sat Feb 7 13:42:22 2009 -0500

R6xx/R7xx EXA: Optimize overlapping copy

Overlapping copy is now done in chunks proportional to the
non-overlapping area.

Diagonal overlaps are also handled properly.

diffstat:
src/r600_exa.c | 85 ++++++++++++++++++++++++++++++++++++-----------------
1 file changed, 59 insertions(+), 26 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 295648454253f98e30e3680e8c9dd94c91bde6bb
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Sat Feb 7 10:34:12 2009 -0500

R6xx/R7xx Xv: fix typos in cache flushing

diffstat:
src/r600_textured_videofuncs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit fab5c673418a44aafb0314766ce0edc25740c51d
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Feb 6 18:31:14 2009 -0500

R6xx/R7xx EXA: Fix typo in DFS

noticed by pzad in IRC

diffstat:
src/r600_exa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 8f7fca4bbe8e3d29026f8cf603602e09f00af9e3
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Feb 6 18:04:43 2009 -0500

R6xx/R7xx EXA: fallback on overlapping blits for now

Leave this disabled until we get a proper solution.

diffstat:
src/r600_exa.c | 2 ++
1 file changed, 2 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 4120d13a4e1f84a97903c839193b39acbab0b5c9
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Feb 6 17:56:42 2009 -0500

Revert "r6xx/r7xx EXA: Optimize overlapping copy"

This reverts commit 262126ef7292a851bcb757462615c015639e50d7.

This is also not adequate for all cases.

diffstat:
src/r600_exa.c | 79 +++++++++++++++++++++++++++++++++--------------------
1 file changed, 50 insertions(+), 29 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit f1b9c19683090272a29a3e4c9e2c054b4a32b47c
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Feb 6 11:17:02 2009 -0500

R6xx/R7xx EXA: add accelerated UTS/DFS hooks

I'm not sure how much of a win these are. I need to
do some benchmarking.

diffstat:
src/r600_exa.c | 135 ++++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 113 insertions(+), 22 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 8f90a3432e0f234b4c0f778aed31367b3dc4110d
Author: Yang Zhao <yang@xxxxxxxxxx>
Date: Fri Feb 6 10:28:39 2009 -0500

r6xx/r7xx EXA: Optimize overlapping copy

When source and destination blocks are only offset horizontally, it
appears to be unnecessary to perform careful, segment-by-segment copy.
The code path that does this is taken out completely.

For the case where offset is only vertical, copying is now done by
height of the non-overlapping area each time, instead of always
line-by-line.

diffstat:
src/r600_exa.c | 79 +++++++++++++++++++----------------------------------
1 file changed, 29 insertions(+), 50 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit c725d146e333930e410733073b88849e8fb91bf2
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Feb 5 19:26:12 2009 -0500

Revert "R6xx/R7xx EXA: improve overlapping copy performance"

This reverts commit bd28b5817ed96e86a2cb275f72a7233d8fc5eccc.

THis seems to cause corruption in some cases.

diffstat:
src/r600_exa.c | 35 +++++++++++++++++++++++++++++------
1 file changed, 29 insertions(+), 6 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 7ef8c0b06522477cc2abcc2c9f1fa65efd2fab02
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Feb 5 17:33:36 2009 -0500

r6xx/r7xx EXA: fix corruption when doing sw access

need to wait until the engine is idle. Ideally we wait
on a timestamp shadowed in memory, but polling the
GRBM_STATUS reg will do for now.

diffstat:
src/r600_exa.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit f0ac61a002debc29442492229c1465fe55d2a791
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Feb 5 16:25:06 2009 -0500

R6xx/R7xx EXA: improve overlapping copy performance

send vertices for each line of the copy, but only draw once

diffstat:
src/r600_exa.c | 35 ++++++-----------------------------
1 file changed, 6 insertions(+), 29 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 9f160eaadb944bc80a62cc03195a3245cae2df2a
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Feb 5 16:12:28 2009 -0500

r6xx/r7xx EXA: cleanup overlapping copy

diffstat:
src/r600_exa.c | 153 +----------------------------------------------------
1 file changed, 5 insertions(+), 148 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 4d20f2ce1b3a248ebf7093b7b8c35f87dd1ec673
Author: Christian Koenig <deathsimple@xxxxxxxxxxx>
Date: Wed Feb 4 19:24:44 2009 -0500

Fix RHDDRIGARTBaseGet to work with AGP based card

Remove a check in RHDDRIGARTBaseGet makes AGP based r6xx card working,
and also fix a minor debugging output typo.

diffstat:
src/rhd_dri.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit a5c129abb9e9ff9484c468056766f7281d8bc56e
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Feb 3 18:16:06 2009 -0500

EXA: fix and re-enable Solid() on R7xx

last bit was set in final alu instruction.

diffstat:
src/r600_exa.c | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 59fa04881f598602a3163070c62349a3ec65f242
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 2 16:38:05 2009 -0500

Updates the comments about SPI setup for Solid()

diffstat:
src/r600_exa.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit ded1312e6478ca205d5b5f0c470e24cc77405436
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 2 16:20:36 2009 -0500

R7xx: temporarily disable Solid() to prevent hangs

Something about using a PS constant for color seems to
disagree with some r7xx cards.

diffstat:
src/r600_exa.c | 6 ++++++
1 file changed, 6 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit f723ad4a591c3940373566c56f8d03a01ddee67f
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 2 16:08:00 2009 -0500

EXA solid fixes

- fix fetch count in solid VS
- fix SPI PS input setup (we aren't using any VS outputs)
- always have at least one VS export besides position, even if
it's not used by the PS (SPI expects at least one).

diffstat:
src/r600_exa.c | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 53c1b328bda7103c06fa4545f72976ab71abce10
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 2 11:34:09 2009 -0500

R6xx/R7xx: Avoid emitting default state when possible

diffstat:
src/r6xx_accel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit b32618d0c1799ed12ca4c2eaf96dde2700785ef5
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Feb 2 11:08:24 2009 -0500

Add R6xx/R7xx AGP support

- Needs latest drm bits
- doesn't seem to be as reliable as PCIE

diffstat:
src/rhd_dri.c | 89 ++++++++++++++++++++++++++++--------------------------
1 file changed, 47 insertions(+), 42 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 8ae410b1d9a7a19477c00794047eadf5c5400ff6
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Sat Jan 31 15:37:06 2009 -0500

Fix and enable composite mask

bad offset into the vertex buffer for the mask coordinates

diffstat:
src/r600_exa.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 1a3fe25e9def5fa8f371d3a2c96566318ed4a195
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Jan 30 20:22:07 2009 -0500

EXA: Remove repeat tile code

As far as I can tell from documentation and experimentation,
all the clamp modes work fine with NPOT or POT textures.

diffstat:
src/r600_exa.c | 156 ++++++--------------------------------------
src/r6xx_accel.h | 8 --
src/radeon_exa_render.c | 2
3 files changed, 24 insertions(+), 142 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 84a7741e21c0293a4ac1c8693fc6010c2ff5c869
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Jan 30 14:30:58 2009 -0500

EXA: Re-enable a8 solid and copy.

it's just masks with repeat that are broken.

diffstat:
src/r600_exa.c | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit efbd11d434f4b9327effa5792b219c3ba3505abe
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Jan 29 13:50:42 2009 -0500

R6xx/R7xx: move some VGT setup to drm

This fixes accel on rs780/rv610/rv620, etc.
VGT_OUT_DEALLOC_CNTL and VGT_VERTEX_REUSE_BLOCK_CNTL
are set up based on the backend config so set them up
in the drm and forget them.

YOU MUST UPDATE YOUR DRM!

diffstat:
src/r6xx_accel.c | 5 -----
1 file changed, 5 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 8f4ab199975a76597dcf354996822af8816433d5
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Jan 29 13:06:41 2009 -0500

Discard command buffers when nothing is drawn

This fixes hangs on r7xx.

Changing the same SQ constant (ALU, VTX/TEX, etc.)
more than once between draw calls can result in a hang.

diffstat:
src/r600_exa.c | 6 +++---
src/r600_state.h | 2 ++
src/r600_textured_videofuncs.c | 2 +-
src/r6xx_accel.c | 8 ++++++++
4 files changed, 14 insertions(+), 4 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit cea356d9b0b89b34659c729e4781497fd81bee88
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 28 19:33:04 2009 -0500

switch to R600PitchMatches() due to changes in pitch alignment

render repeat modes seem the be the last thing left to getting
this working properly

diffstat:
src/r600_exa.c | 19 +++++++++++++++----
src/r6xx_accel.h | 1 -
src/radeon_exa_render.c | 2 +-
3 files changed, 16 insertions(+), 6 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 381ca1a2a1b9b05d41e07f7d0548da753b66753e
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 28 17:26:09 2009 -0500

EXA Composite: add a bit of missing state setup

diffstat:
src/r600_exa.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 68311d8865152bee1ffe1f1233ccde51a18bf4d3
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 28 02:34:25 2009 -0500

minor code re-org

diffstat:
src/r600_exa.c | 73 +++++++++++++++++++++--------------------------------
1 file changed, 30 insertions(+), 43 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit e6c753f409fbddfbd8f706061743d1d486de672d
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 28 02:31:01 2009 -0500

removed leftover vertex color param export

diffstat:
src/r600_exa.c | 31 +++++--------------------------
1 file changed, 5 insertions(+), 26 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 16b6e8d30db237acd354fc717d15939c45a6e095
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 28 02:16:44 2009 -0500

EXA: fix mask coordinate export

diffstat:
src/r600_exa.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit f808fe852596c9a6d6742bd19d2bb972b2268dec
Author: Ludovic Aubry <ludovic.aubry@xxxxxxxxxx>
Date: Wed Jan 28 00:37:12 2009 -0500

use correct mask resource and sampler id

diffstat:
src/r600_exa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit c1db8638979e5e47eb580f0ebcf1b2db7043888b
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Jan 27 11:58:59 2009 -0500

Remove Xv vertex debugging output

diffstat:
src/r600_textured_videofuncs.c | 2 ++
1 file changed, 2 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit a4bfc7f0695db02dcea3bc07bf042b4b08930eb3
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Jan 26 20:46:04 2009 -0500

R6xx/R7xx: workaround text rendering issues

- disable a8 acceleration until I figure out why it's not working properly
- disable DFS/UTS hooks. they are still SW at the moment anyway.
- fix pitch alignment (width has to be a multiple of 8,
bytes have to be a multiple of 256)
- fix height (height has to be a multiple of 8)

diffstat:
src/r600_exa.c | 31 ++++++++++++++++++++++---------
src/r6xx_accel.c | 5 +++--
src/rhd_video.c | 4 ++--
3 files changed, 27 insertions(+), 13 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 3b692f8ac29562d0b9b73037cd2b4dcf7a715adf
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Jan 23 17:43:57 2009 -0500

R6xx/R7xx: add missing TEX instruction padding

diffstat:
src/r600_exa.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 43f54aa6c5014fcb81871d681b877f20673bccdb
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Jan 22 20:20:45 2009 -0500

R6xx/R7xx: flush TC on chips without VC

On chips without a dedicated vertex cache,
the texture cache is used for vertexes and textures.

diffstat:
src/r600_exa.c | 52 +++++++++++++++++++++++++++++++------
src/r600_textured_videofuncs.c | 13 +++++++--
src/r6xx_accel.c | 3 +-
3 files changed, 57 insertions(+), 11 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit f6315d535c0084771030884bad8894008902d318
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Jan 22 19:44:47 2009 -0500

R6xx/R7xx: get the SQ setup right

based on info from the hw guys

diffstat:
src/r6xx_accel.c | 86 +++++++++++++++++++++++++--------------------------
1 file changed, 43 insertions(+), 43 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit b6351dc4079cc343e865ce6dab8e7dbde552274c
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Jan 22 16:55:31 2009 -0500

Add missing return in PrepareAccess()

diffstat:
src/r600_exa.c | 2 ++
1 file changed, 2 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit a73ed442270077d9b148993ed1061224161c7e2f
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Jan 22 13:04:06 2009 -0500

R6xx:R7xx: add fine grained cache flushing support

- also flush HDP caches when doing sw access

diffstat:
src/r600_exa.c | 278 +++++++++++++++++++++++++------------
src/r600_reg_r6xx.h | 2
src/r600_state.h | 2
src/r600_textured_videofuncs.c | 83 +++++++----
src/r6xx_accel.c | 21 +-
src/r6xx_accel.h | 14 +
6 files changed, 278 insertions(+), 122 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 5c4b2c38f23076d5f829212c165c207f5140e153
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Sat Jan 17 15:51:34 2009 -0500

R6xx/R7xx: adjust SQ setup

diffstat:
src/r6xx_accel.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 73c131156b0beb9de214f68d08e5eddec46e8c2a
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 14 18:01:43 2009 -0500

R6xx/R7xx: add chip specific SQ setup

diffstat:
src/r6xx_accel.c | 145 +++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 117 insertions(+), 28 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 2dc272e8cee1df99dbf127a76bcfd28dbb0f0cd0
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 14 16:20:29 2009 -0500

R6xx/r7xx: re-arrange some code, adjust exa offset align

diffstat:
src/r600_exa.c | 80 +++++++++++++++++++++++++----------------------------
1 file changed, 38 insertions(+), 42 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 1f7e164ef9af7d18b4a7645983ca5b119460d676
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 14 15:06:51 2009 -0500

R6xx/r7xx: pull in fixes from r3xx render code

diffstat:
src/r600_exa.c | 134 ++++++++++++++++++++++++++++++++++++++------
src/r6xx_accel.h | 3
src/radeon_exa_render.c | 4 -
3 files changed, 121 insertions(+), 20 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit ff359a560864c2ac7ba6e3d2e05ffaac036bb354
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 14 14:27:09 2009 -0500

r6xx:r7xx: load composite vertex shaders once

rather than for each op. PS still need to be per op.

diffstat:
src/r600_exa.c | 512 +++++++++++++++++++++++++++--------------------------
1 file changed, 262 insertions(+), 250 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 65d0304c20813dd7e764bdfc20108046c08fca65
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 14 14:16:58 2009 -0500

r6xx/r7xx: switch to different vertex buffer formats for composite

mask vs no mask case

diffstat:
src/r600_exa.c | 88 ++++++++++++++++++++++++++++++++-------------------
src/r6xx_accel.h | 7 ++++
2 files changed, 63 insertions(+), 32 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit b1d88bb197eabbcb6942e00656ccf5c2ef4fee90
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 14 13:38:12 2009 -0500

R6xx/r7xx: switch solid/copy/xv to static shaders

load the shaders at startup rather than at each op

diffstat:
src/r600_exa.c | 1467 +++++++++++++++++++++++++++----------
src/r600_textured_videofuncs.c | 654 ----------------
src/r6xx_accel.h | 13
3 files changed, 1089 insertions(+), 1045 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 2e91043719efd0a60df6f1b33316da3b423aed1b
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 14 12:22:41 2009 -0500

R6xx/r7xx: use an alu const for solid color

avoid sending the color with each vertex

diffstat:
src/r600_exa.c | 249 ++++++++++++++++++++++++++++++++-------------------
src/r6xx_accel.h | 4
2 files changed, 157 insertions(+), 96 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit ebe31f230d00ce431124ee368833f8411a8f28dc
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 14 11:46:48 2009 -0500

R6xx/R7xx: clamp color values

diffstat:
src/r600_exa.c | 10 +++++-----
src/r600_textured_videofuncs.c | 24 ++++++++++++------------
2 files changed, 17 insertions(+), 17 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 10f3e75c31b8bd77b5545dc5010d51b49a0a7787
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Jan 12 19:00:27 2009 -0500

R6xx/r7xx: fix planemask handling

diffstat:
src/r600_exa.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 6224636d20a82964b3efe7d6754f14da55a8724f
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Jan 12 17:38:27 2009 -0500

R6xx/R7xx: use consistent swizzling and PS elem ordering

- seems to fix up most text issues
- also remove some composite debugging
- masks still have issues

diffstat:
src/r600_exa.c | 278 +++++++++++++++++++------------------
src/r600_textured_videofuncs.c | 41 ++---
2 files changed, 165 insertions(+), 154 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 7e2dbeeb5c91f3d627f3486f9a360227bbf5bf6a
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Sat Jan 10 12:43:11 2009 -0500

R6xx/R7xx: fix bad GPR in mask PS

noticed by Aidan Thornton (makomk on IRC)

diffstat:
src/r600_exa.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 969d8866465c1e7761880153b0dc60fedccab3cd
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Jan 9 16:28:46 2009 -0500

R6xx/r7xx: use flat shading for solid()

diffstat:
src/r600_exa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 75e108ca45fb5c76eed53c99ca6ebc6c5cb60c9e
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Jan 9 15:40:46 2009 -0500

fix return type for R600DoPrepareCopy()

diffstat:
src/r600_exa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 56a816a9328b5b5f43b4c97271a3af4f38a50cce
Author: Kevin Cody Jr <kcodyjr@xxxxxxxxx>
Date: Fri Jan 9 15:39:50 2009 -0500

Warning fixes

See bug 19364

diffstat:
src/r600_exa.c | 44 ++++++++++++++++-----------------
src/r600_textured_videofuncs.c | 2 -
src/r6xx_accel.c | 48 ++++++++++++++++++-------------------
src/rhd_dri.c | 2 -
4 files changed, 48 insertions(+), 48 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit d096cef8bb2cf6d14031a6d2165a8f17af523197
Author: Maciej Cencora <m.cencora@xxxxxxxxx>
Date: Fri Jan 9 15:11:38 2009 -0500

Don't crash if user selected EXA on R6xx, and no CS is available.

diffstat:
src/r600_exa.c | 2 +-
src/rhd_video.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit decbd958d9fb8f7ed6af42c0c08047111bf8c770
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Fri Jan 9 15:07:34 2009 -0500

R6xx/r7xx: fix packed Xv formats

- convert to nv12
- also fix bad ordering in planar conversion

Next step is to convert to native format specific shaders

diffstat:
src/r600_textured_videofuncs.c | 2 -
src/rhd_video.c | 50 +++++++++++++++++++++++++++++++------
2 files changed, 44 insertions(+), 8 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 54011f6a59592a8f4a3a22808f5eff8367348846
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Jan 8 17:44:45 2009 -0500

R6xx/R7xx: fix alignment

pitch needs to be a multiple of 128 rather than 64 since
UV is pitch/2

diffstat:
src/r600_textured_videofuncs.c | 16 ++++++++++------
src/rhd_video.c | 15 +++++++++++----
2 files changed, 21 insertions(+), 10 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit dd2e8176f5d0fbb8f566c659f11a88a39b64ee63
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Jan 8 17:15:45 2009 -0500

R6xx/R7xx: Get Xv working (at least for me)

- updated conversion matrix and swizzle fixes from Aidan Thornton
(makomk on IRC)
- set comp swap to 1 in the CB. shader to CB component ordering seems
to be ABGR rather than ARGB which would explain some of the other issues
with EXA.
setting comp swap to 1 changes the ordering from ABGR to ARGB

diffstat:
src/r600_textured_videofuncs.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 09a2e6256ce2bbeb9eadc1a17908b196b7de17b0
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Thu Jan 8 16:06:00 2009 -0500

R6xx/r7xx Xv: fix pitch issues

Image displays properly, but color components are wrong

diffstat:
src/r600_textured_videofuncs.c | 9 ++--
src/rhd_video.c | 76 ++++++++++++++++++++++++-------------
2 files changed, 56 insertions(+), 29 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 781acf8dd217c79ac7b1b05558cdbf7291cc28d9
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 7 18:54:43 2009 -0500

R6/7xx Xv: fixup pitches

diffstat:
src/r600_textured_videofuncs.c | 2 +-
src/rhd_video.c | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 7be036736d8dc5ac30ee4f28002a4344d11cf6d3
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 7 16:57:50 2009 -0500

R6xx/R7xx: write to right offset in constant space

PS consts start at offset 0, VS start at offset 256

diffstat:
src/r600_textured_videofuncs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 57c7090bdf23d7bd81d2e6d25e43be076e0baeea
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Wed Jan 7 16:01:04 2009 -0500

R6xx/R7xx: minor fixes

- swizzle unused tex components to 0
- we use 4 gprs in the PS not 3
Xv still not working

diffstat:
src/r600_textured_videofuncs.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 4ed346d03b312ce789b8b8476250cc612cffb02e
Author: Hans Ulrich Niedermann <hun@xxxxxxxxxxxxxxxx>
Date: Thu Jan 1 14:08:06 2009 +0100

drm header mismatch port (6c91fed6 for r6xx-)

Workaround for drm header mismatches (DEPRECATED and __user on Fedora
10), now also in new file src/r6xx_accel.c.

diffstat:
src/r6xx_accel.c | 5 +++++
1 file changed, 5 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 35b5c2aafeaede89a70595a1a2cd33732757fa1c
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Dec 30 19:03:06 2008 -0500

R6xx/R7xx: adjust shader program state setup

diffstat:
src/r600_exa.c | 20 ++++++++++----------
src/r600_textured_videofuncs.c | 4 ++--
2 files changed, 12 insertions(+), 12 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 949cb4bc7f3eb65424818b673a573b792360d9a3
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Dec 30 18:27:04 2008 -0500

R6xx/R7xx: VS_EXPORT_COUNT is n - 1, not n

diffstat:
src/r600_exa.c | 8 ++++----
src/r600_textured_videofuncs.c | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 05712027f2f78489f40a9c36b6d5fe13228259a5
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Dec 30 18:13:12 2008 -0500

R6xx/R7xx: fixup SPI setup

Properly route export params from VS to PS
should probably switch to sematic defines to make the code easier
to follow.

diffstat:
src/r600_exa.c | 81 +++++++++++++++++++++++--------------
src/r600_textured_videofuncs.c | 6 +-
2 files changed, 55 insertions(+), 32 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 863d5a30108d976ecac57a955d32d781b0eda169
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Tue Dec 30 12:16:49 2008 -0500

R6xx AGP not currently supported

don't try to init the dri

diffstat:
src/rhd_dri.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit b94b84016a89c50710a468646fb0461b30f19160
Author: Hans Ulrich Niedermann <hun@xxxxxxxxxxxxxxxx>
Date: Tue Dec 30 12:17:05 2008 +0100

Ship all R6xx files in dist tarball

Without these files, compiling a dist tarball will fail.

diffstat:
src/Makefile.am | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit da2d49ee054c3de8d9d73dcf9a3b2c8528ade2bd
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Dec 29 18:03:29 2008 -0500

Fix the build on some platforms

Noticed by Michael Larabel on IRC

diffstat:
src/r600_state.h | 4 ++++
1 file changed, 4 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


commit 07cb75ebe7b476f9b6e4676e9a1233f44df95a0c
Author: Alex Deucher <alexdeucher@xxxxxxxxx>
Date: Mon Dec 29 16:00:38 2008 -0500

R6xx/R7xx: Add initial EXA/Xv support

First pass at r6xx/r7xx EXA and Xv support. This release
is mostly targeted at developers as the code is not really
ready for regular users.

Current status:
- lack of direction blitter makes overlapping copy blits difficult.
current code breaks down overlapping blits into line by line
blits of non-overlapping regions. running xcompmgr -a is highly
recommended.
- a8 solids have issues
- planar Xv shader implemented, but not working properly yet
- missing Xv shader support for packed formats. should be easy to
adapt the planar Xv shader once that is working
- composite mask support is currently broken. I suspect the interpolater
setup.
- depth 16 is untested

diffstat:
src/Makefile.am | 2
src/r600_exa.c | 2777 +++++++++++++++++++++++++++++++++
src/r600_reg.h | 126 +
src/r600_reg_auto_r6xx.h | 3087 +++++++++++++++++++++++++++++++++++++
src/r600_reg_r6xx.h | 492 +++++
src/r600_reg_r7xx.h | 149 +
src/r600_shader.h | 346 ++++
src/r600_state.h | 221 ++
src/r600_textured_videofuncs.c | 974 +++++++++++
src/r6xx_accel.c | 1061 ++++++++++++
src/r6xx_accel.h | 75
src/radeon_exa_render.c | 2
src/rhd_cs.c | 13
src/rhd_dri.c | 61
src/rhd_driver.c | 12
src/rhd_video.c | 84 -
src/rhd_video.h | 1
17 files changed, 9442 insertions(+), 41 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=10c21191


--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups