[PATCH] drm/radeon/kms: set SX_MISC in the r6xx blit code (v2)

Alex Deucher alexdeucher at gmail.com
Wed Mar 7 15:35:07 PST 2012


On Wed, Mar 7, 2012 at 5:33 PM, Marek Olšák <maraeo at gmail.com> wrote:
> Mesa may set it to 1, causing all primitives to be killed.
>
> v2: also update the r7xx code
>
> Signed-off-by: Marek Olšák <maraeo at gmail.com>
> Cc: stable at kernel.org

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/radeon/r600_blit_shaders.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/r600_blit_shaders.c b/drivers/gpu/drm/radeon/r600_blit_shaders.c
> index 2d1f6c5..73e2c7c 100644
> --- a/drivers/gpu/drm/radeon/r600_blit_shaders.c
> +++ b/drivers/gpu/drm/radeon/r600_blit_shaders.c
> @@ -314,6 +314,10 @@ const u32 r6xx_default_state[] =
>        0x00000000, /* VGT_VTX_CNT_EN */
>
>        0xc0016900,
> +       0x000000d4,
> +       0x00000000, /* SX_MISC */
> +
> +       0xc0016900,
>        0x000002c8,
>        0x00000000, /* VGT_STRMOUT_BUFFER_EN */
>
> @@ -626,6 +630,10 @@ const u32 r7xx_default_state[] =
>        0x00000000, /* VGT_VTX_CNT_EN */
>
>        0xc0016900,
> +       0x000000d4,
> +       0x00000000, /* SX_MISC */
> +
> +       0xc0016900,
>        0x000002c8,
>        0x00000000, /* VGT_STRMOUT_BUFFER_EN */
>
> --
> 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