[PATCH ati] Remove reference to pixmapPrivate.

Michel Dänzer michel at daenzer.net
Fri Oct 1 08:18:05 PDT 2010


On Fre, 2010-10-01 at 08:07 -0400, Trevor Woerner wrote: 
> From: Trevor Woerner <twoerner at gmail.com>
> 
> Signed-off-by: Trevor Woerner <twoerner at gmail.com>
> ---
>  src/drmmode_display.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index a6038b2..57a8ec6 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -1145,7 +1145,6 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height)
>  					   width, height, -1, -1, pitch * cpp,
>  					   info->fb_shadow);
>  	}
> -	scrn->pixmapPrivate.ptr = ppix->devPrivate.ptr;

Before applying this as is, someone should confirm that this line really
isn't needed with servers that have the pixmapPrivate field. It was
added in Jerome's commit 95385f0906f371a1ed6e60eb3e597e699c7a3222 ('kms:
Fix resizing when acceleration is disabled'), which indicates it might
be necessary when resizing the screen with acceleration disabled.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-devel mailing list