[RFC PATCH] radeon/kms: Support running nested in a Mir compositor
Richard Wilbur
richard.wilbur at gmail.com
Tue Jul 23 16:29:53 PDT 2013
On Mon, Jul 22, 2013 at 1:30 AM,
<christopher.halse.rogers at canonical.com> wrote:
> diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
> index fa3719d..13a2bfd 100644
> --- a/src/radeon_dri2.c
> +++ b/src/radeon_dri2.c
> @@ -1631,6 +1643,11 @@ radeon_dri2_screen_init(ScreenPtr pScreen)
> }
> #endif
>
> +#if DRI2INFOREC_VERSION >= 9 && defined(XMIR)
> + dri2_info.version = 8;
> + dri2_info.AuthMagic2 = radeon_dri2_auth_magic;
> +#endif
> +
> #if DRI2INFOREC_VERSION >= 9
> dri2_info.version = 9;
> dri2_info.CreateBuffer2 = radeon_dri2_create_buffer2;
Looks like after this chunk, dri2_info.version == 9, regardless of the
new patch if DRI2INFOREC_VERSION >= 9.
More information about the xorg-driver-ati
mailing list