[Intel-gfx] [PATCH] uxa/glamor: Use a macro to specify module name.
Zhigang Gong
zhigang.gong at linux.intel.com
Wed Feb 8 07:17:18 CET 2012
> -----Original Message-----
> From: zhigang.gong at linux.intel.com [mailto:zhigang.gong at linux.intel.com]
> Sent: Thursday, February 02, 2012 11:31 AM
> To: chris at chris-wilson.co.uk
> Cc: intel-gfx at lists.freedesktop.org; zhigang.gong at linux.intel.com
> Subject: [PATCH] uxa/glamor: Use a macro to specify module name.
>
> From: Zhigang Gong <zhigang.gong at linux.intel.com>
>
> Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
> ---
> src/intel_glamor.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/intel_glamor.c b/src/intel_glamor.c index
446dd3d..f908b7c
> 100644
> --- a/src/intel_glamor.c
> +++ b/src/intel_glamor.c
> @@ -67,7 +67,7 @@ intel_glamor_pre_init(ScrnInfoPtr scrn)
> intel = intel_get_screen_private(scrn);
>
> /* Load glamor module */
> - if ((glamor_module = xf86LoadSubModule(scrn, "glamor_egl"))) {
> + if ((glamor_module = xf86LoadSubModule(scrn,
> GLAMOR_EGL_MODULE_NAME)))
> +{
> version = xf86GetModuleVersion(glamor_module);
> if (version < MODULE_VERSION_NUMERIC(0,3,0)) {
> xf86DrvMsg(scrn->scrnIndex, X_ERROR,
> --
> 1.7.4.4
This patch depends on glamor commit b5f8d...
More information about the Intel-gfx
mailing list