"Blocker" bugs with patches or workarounds

Jeremy Huddleston jeremyhu at apple.com
Sat Oct 29 16:25:37 PDT 2011


For future reference, please send patches to the list as a new thread, preferibly with git-send-email or git-format-patch and your own mailer.

On Oct 29, 2011, at 12:54, Michal Suchanek wrote:

> Hello,
> 
> Sending the patch for bug 41653.
> 
> The following changes since commit 91131037a2d2e07079de5d222d8a8c95300750cc:
> 
>  Fix position _X_EXPORT (2011-10-28 13:10:07 -0700)
> 
> are available in the git repository at:
>  git://repo.or.cz/xserver/hramrach.git pull
> 
> Michal Suchanek (1):
>      Fix crash on exit when rotation is enabled.
> 
> hw/xfree86/modes/xf86Rotate.c |    5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/xfree86/modes/xf86Rotate.c b/hw/xfree86/modes/xf86Rotate.c
> index ff7000b..2a02cff 100644
> --- a/hw/xfree86/modes/xf86Rotate.c
> +++ b/hw/xfree86/modes/xf86Rotate.c
> @@ -283,6 +283,7 @@ xf86RotateDestroy (xf86CrtcPtr crtc)
>     ScrnInfoPtr                pScrn = crtc->scrn;
>     ScreenPtr          pScreen = pScrn->pScreen;
>     xf86CrtcConfigPtr   xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
> +    DrawablePtr screenDrawable = &pScreen->root->drawable;
>     int                        c;
> 
>     /* Free memory from rotation */
> @@ -300,12 +301,12 @@ xf86RotateDestroy (xf86CrtcPtr crtc)
>     /*
>      * Clean up damage structures when no crtcs are rotated
>      */
> -    if (xf86_config->rotation_damage)
> +    if (screenDrawable && xf86_config->rotation_damage)
>     {
>        /* Free damage structure */
>        if (xf86_config->rotation_damage_registered)
>        {
> -           DamageUnregister (&pScreen->root->drawable,
> +           DamageUnregister (screenDrawable,
>                              xf86_config->rotation_damage);
>            xf86_config->rotation_damage_registered = FALSE;
>            DisableLimitedSchedulingLatency();
> 



More information about the xorg-devel mailing list