From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhigang Gong" Subject: Re: [PATCH] uxa/glamor: Use a macro to specify module name. Date: Wed, 8 Feb 2012 14:17:18 +0800 Message-ID: <01f701cce629$5045c8a0$f0d159e0$@linux.intel.com> References: <1328153457-11417-1-git-send-email-zhigang.gong@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 142DA9EB4C for ; Tue, 7 Feb 2012 22:17:25 -0800 (PST) In-Reply-To: <1328153457-11417-1-git-send-email-zhigang.gong@linux.intel.com> Content-Language: zh-cn List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: chris@chris-wilson.co.uk Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org > -----Original Message----- > From: zhigang.gong@linux.intel.com [mailto:zhigang.gong@linux.intel.com] > Sent: Thursday, February 02, 2012 11:31 AM > To: chris@chris-wilson.co.uk > Cc: intel-gfx@lists.freedesktop.org; zhigang.gong@linux.intel.com > Subject: [PATCH] uxa/glamor: Use a macro to specify module name. > > From: Zhigang Gong > > Signed-off-by: Zhigang Gong > --- > 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...