Re: v2.6.38-rc5: drm-radeon regression

From: Jörg Otte
Date: Mon Feb 21 2011 - 10:20:29 EST


2011/2/20 Dave Airlie <airlied@xxxxxxxxxx>:
> On Sun, 2011-02-20 at 11:24 +0100, Jörg Otte wrote:
>> Reaching the desktop in v2.6.38-rc5 I only see the background.
>> No Icon,widgets,windows etc. I am under the impression
>> that everything is there - but invisible.
>
> Does this help?
>
> From 9f159e5f1fd56409718e14913f0fef5fedc09fc8 Mon Sep 17 00:00:00 2001
> From: Dave Airlie <airlied@xxxxxxxxxx>
> Date: Mon, 21 Feb 2011 07:56:04 +1000
> Subject: [PATCH] drm/radeon: fix regression with AA resolve checking
>
> Some userspaces can emit a whole packet without disabling AA resolve
> by the looks of it, so we have to deal with them.
>
> Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>
> ---
>  drivers/gpu/drm/radeon/r100.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/r100.c
> b/drivers/gpu/drm/radeon/r100.c
> index 56deae5..8b0d117 100644
> --- a/drivers/gpu/drm/radeon/r100.c
> +++ b/drivers/gpu/drm/radeon/r100.c
> @@ -3490,7 +3490,7 @@ void r100_cs_track_clear(struct radeon_device
> *rdev, struct r100_cs_track *track
>                track->num_texture = 16;
>                track->maxy = 4096;
>                track->separate_cube = 0;
> -               track->aaresolve = true;
> +               track->aaresolve = false;
>                track->aa.robj = NULL;
>        }
>

Yes, this works.

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/