[PATCH] randr: call RRProviderInit in the proper place.

Alex Deucher alexdeucher at gmail.com
Fri Nov 30 06:15:09 PST 2012


On Fri, Nov 30, 2012 at 5:54 AM, Dave Airlie <airlied at gmail.com> wrote:
> No idea where this got lost across development cycles, but its
> definitely missing.

Might also fix the segfaults on hybrid laptops?
https://bugs.freedesktop.org/show_bug.cgi?id=56986


>
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=57448
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>

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

> ---
>  randr/randr.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/randr/randr.c b/randr/randr.c
> index da48c3f..f0decfc 100644
> --- a/randr/randr.c
> +++ b/randr/randr.c
> @@ -264,6 +264,8 @@ RRInit(void)
>              return FALSE;
>          if (!RROutputInit())
>              return FALSE;
> +        if (!RRProviderInit())
> +            return FALSE;
>          RRGeneration = serverGeneration;
>      }
>      if (!dixRegisterPrivateKey(&rrPrivKeyRec, PRIVATE_SCREEN, 0))
> --
> 1.7.11.7
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list