From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx1.pokylinux.org (Postfix) with ESMTP id 85A3C4C8006D for ; Tue, 22 Feb 2011 14:03:40 -0600 (CST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 22 Feb 2011 12:03:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.62,207,1297065600"; d="scan'208";a="890183630" Received: from unknown (HELO [10.255.12.88]) ([10.255.12.88]) by fmsmga001.fm.intel.com with ESMTP; 22 Feb 2011 12:03:29 -0800 Message-ID: <4D641690.4060509@intel.com> Date: Tue, 22 Feb 2011 12:03:28 -0800 From: Saul Wold User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5 MIME-Version: 1.0 To: Yu Ke References: In-Reply-To: Cc: poky@yoctoproject.org Subject: Re: [PATCH 1/2] xf86-video-intel: add config option to support rootless X X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 20:03:40 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 02/22/2011 08:00 AM, Yu Ke wrote: > - add global config option ROOTLESS_X to control if enable > rootless X for the machine. ROOTLESS_X requires graphics > driver supporting KMS (kernel mode setting), so far, only > atom_pc support this. so enable ROOTLESS_X for atom_pc machine > > - add config options for xf86-video-intel to support rootless X > > Signed-off-by: Yu Ke > --- > meta/conf/machine/atom-pc.conf | 2 ++ > .../xorg-driver/xf86-video-intel_2.14.0.bb | 5 +++++ > 2 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/meta/conf/machine/atom-pc.conf b/meta/conf/machine/atom-pc.conf > index 58c9b0d..b94deb2 100644 > --- a/meta/conf/machine/atom-pc.conf > +++ b/meta/conf/machine/atom-pc.conf > @@ -42,3 +42,5 @@ GLIBC_ADDONS = "nptl" > GLIBC_EXTRA_OECONF = "--with-tls" > > EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" > + > +ROOTLESS_X = "1" Can this also be set for qemux86? If so, why not have it default? > diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.14.0.bb b/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.14.0.bb > index 017a2e0..099cf9d 100644 > --- a/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.14.0.bb > +++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.14.0.bb > @@ -9,8 +9,13 @@ Infrastructure (DRI)." > > LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e" > > +PR = "r1" > + > EXTRA_OECONF += "--disable-xvmc" > > +# --enable-kms-only option is required by ROOTLESS_X > +EXTRA_OECONF += '${@base_conditional( "ROOTLESS_X", "1", " --enable-kms-only", "", d )}' > + > DEPENDS += "virtual/libx11 libxvmc drm xf86driproto glproto \ > virtual/libgl xineramaproto xf86driproto libpciaccess" >