[PATCH] r6xx: initialize SX_MISC

Alex Deucher alexdeucher at gmail.com
Wed Mar 7 08:03:10 PST 2012


On Wed, Mar 7, 2012 at 10:56 AM, Marek Olšák <maraeo at gmail.com> wrote:
> If Mesa set it to 1, the DDX would not render anything = the monitor would
> basically freeze.
> ---
> If it's right, please apply it to xf86-video-ati. I don't have commit access.

Pushed.  thanks!

>
>  src/r6xx_accel.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
> index 8e6bffa..ab878c3 100644
> --- a/src/r6xx_accel.c
> +++ b/src/r6xx_accel.c
> @@ -1200,6 +1200,7 @@ r600_set_default_state(ScrnInfoPtr pScrn, drmBufPtr ib)
>     E32(ib, 0); // VGT_VTX_CNT_EN
>
>     EREG(ib, VGT_STRMOUT_BUFFER_EN,               0);
> +    EREG(ib, SX_MISC,                             0);
>     END_BATCH();
>  }
>
> --
> 1.7.5.4
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list