-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This patch might be worth including, it resets the fifo and writes
twice. I should cure some lockups on R3xx based cards.

Not much of an improvement, but reduced lockups should be a good thing.


Rune Petersen
Bernhard Rosenkraenzer wrote:
> On Wednesday 25 July 2007, Hanno Böck wrote:
>> Next steps would be:
>> - Adapt the latest patch (attached to the gentoo bug) to the current
>> git-code
> 
> A newer version -- basically the patch from the gentoo bug ported to 6.6.192 
> + 
> some makefile changes (building tvo_set with automake as well instead of 
> keeping legacy imake stuff) -- can be found at
> 
> http://arklinux.org/~bero/xf86-video-ati-6.6.192-tvout.patch
> 
> And yes, we agree to release the changes we made there under the X license.
> 
> Regards,
> bero
> _______________________________________________
> xorg mailing list
> [EMAIL PROTECTED]
> http://lists.freedesktop.org/mailman/listinfo/xorg
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGp7NgwelRB44W2nIRAia5AJ4qEHbMEIAgiMf5HHYhSwCI+A3D3ACfY5Yg
ys/pNcAR1X17NSCyUvj+q54=
=sWN1
-----END PGP SIGNATURE-----
diff -Naur xf86-video-ati-6.6.3/src/theater_out.c xf86-video-ati-6.6.3-dev/src/theater_out.c
--- xf86-video-ati-6.6.3/src/theater_out.c	2007-04-12 21:38:31.000000000 +0200
+++ xf86-video-ati-6.6.3-dev/src/theater_out.c	2007-04-17 21:02:04.000000000 +0200
@@ -1165,6 +1165,7 @@
     {
       ert_write(t , TV_HOST_WRITE_DATA , value);
 
+      ert_write(t , TV_HOST_RD_WT_CNTL , addr);
       ert_write(t , TV_HOST_RD_WT_CNTL , addr | VIP_HOST_RD_WT_CNTL_WT);
 
       do
@@ -1212,6 +1213,7 @@
     }
   else
     {
+      ert_write(t , TV_HOST_RD_WT_CNTL , addr);
       ert_write(t , TV_HOST_RD_WT_CNTL , addr | VIP_HOST_RD_WT_CNTL_RD);
 
       do
@@ -1397,6 +1399,14 @@
       getTimingTablesAddr(restore->uv_adr , TRUE , &hTable , &vTable);
     }
 
+  if (t->theatre_num >= 0){
+  }else{
+      ert_write(t , TV_MASTER_CNTL , 
+		VIP_MASTER_CNTL_TV_ASYNC_RST | VIP_MASTER_CNTL_CRT_ASYNC_RST |
+		VIP_MASTER_CNTL_RESTART_PHASE_FIX | VIP_MASTER_CNTL_CRT_FIFO_CE_EN |
+		VIP_MASTER_CNTL_TV_FIFO_CE_EN | TV_MASTER_CNTL_TV_ON);
+  }
+
   for (i = 0; i < MAX_H_CODE_TIMING_LEN; i += 2 , hTable--)
     {
       tmp = ((CARD32)restore->h_code_timing[ i ] << 14) | ((CARD32)restore->h_code_timing[ i + 1 ]);
_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to