On 23 November 2016 at 15:33, Manjukumar Harthikote Matha <[email protected]> wrote: > > >> -----Original Message----- >> From: Nathan Rossi [mailto:[email protected]] >> Sent: Tuesday, November 22, 2016 9:17 PM >> To: Manjukumar Harthikote Matha >> Cc: [email protected] >> Subject: Re: [meta-xilinx] [[email protected]] >> machine-xilinx-default.inc: >> Add XSERVER >> >> On 23 November 2016 at 07:41, Manjukumar Matha <manjukumar.harthikote- >> [email protected]> wrote: >> > Add X org X server configurations >> > >> > Signed-off-by: Manjukumar Matha >> > <[email protected]> >> > --- >> > conf/machine/include/machine-xilinx-default.inc | 9 +++++++++ >> > 1 file changed, 9 insertions(+) >> > >> > diff --git a/conf/machine/include/machine-xilinx-default.inc >> > b/conf/machine/include/machine-xilinx-default.inc >> > index 1dfef48..25e38f7 100644 >> > --- a/conf/machine/include/machine-xilinx-default.inc >> > +++ b/conf/machine/include/machine-xilinx-default.inc >> > @@ -39,4 +39,13 @@ UBOOT_ELF_aarch64 ?= "u-boot.elf" >> > MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS_append_zynqmp = " \ >> > ${@bb.utils.contains('MACHINE_FEATURES', 'mali', >> bb.utils.contains('PREFERRED_PROVIDER_virtual/kernel', 'linux-xlnx', 'kernel- >> module-mali', '', d), '', d)} \ >> > " >> > +XSERVER ?= " \ >> > + xserver-xorg \ >> > + xf86-input-evdev \ >> > + xf86-input-mouse \ >> > + xf86-input-keyboard \ >> > + xf86-video-fbdev \ >> >> Need to add the variable below to XSERVER. Also consistency, tabs not spaces >> ;). >> >> ${XSERVER_EXT} \ >> >> > + " >> > + >> >> Default it to "" for completeness. >> >> XSERVER_EXT ?= "" >> >> > +XSERVER_EXT_zynqmp ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', >> 'xserver-xorg-extension-glx', '', d)}" >> >> Should this also have "xf86-video-armsoc"? >> Also just curious since ZynqMP "CG" devices don't have mali, should the >> opengl >> support be skipped in that case, aka should the above only be added if both >> MACHINE_FEATURES has mali and DISTRO_FEATURES has opengl? > > > Any value in using mesa if MALI is not available?
Technically it will be using mesa even with mali (for libgl), due to mali-400's only providing opengl es support. But I was more pointing towards a fail fast for CG parts so that users don't get confused as to whether they have a device with any opengl hardware support. Although to be honest I am not sure how useful glx extensions for Xserver are on a Mali-400 aka ES only device (in comparison to EGL+glamor). However the armsoc driver should always be provided since the DisplayPort interface is available in all zynqmp parts. Regards, Nathan > >> >> Regards, >> Nathan >> >> > >> > -- >> > 2.7.4 >> > >> > -- >> > _______________________________________________ >> > meta-xilinx mailing list >> > [email protected] >> > https://lists.yoctoproject.org/listinfo/meta-xilinx > > > This email and any attachments are intended for the sole use of the named > recipient(s) and contain(s) confidential information that may be proprietary, > privileged or copyrighted under applicable law. If you are not the intended > recipient, do not read, copy, or forward this email message or any > attachments. Delete this email message and any attachments immediately. > -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
