[meta-intel] [PATCH 5/5] meta-haswell-wc: provide a working xorg.conf for haswell-wc BSP
Tom Zanussi
tom.zanussi at intel.com
Thu Sep 26 07:27:13 PDT 2013
On Thu, 2013-09-26 at 19:25 +0800, boon.leong.ong at intel.com wrote:
> From: Ong Boon Leong <boon.leong.ong at intel.com>
>
> Provide a working xorg.conf for haswell-wc BSP.
>
Is it necessary to have this xorg.conf?
We've been getting away from specifying an xorg.conf if possible. See
similar recent commits that do that for similar boards - it would be
nice if you could do the same here. For example:
commit 42a78097bfff1a85f38b7cbaaa6f7a3f5e1a9220
Author: Ross Burton <ross.burton at intel.com>
Date: Thu Sep 19 00:45:46 2013 +0100
sugarbay: remove xserver-xf86-config
This file appears to be derived from a stale copy of the atom-pc xorg.conf w
was either redundant (setting values to the default), pointlessly hard-codin
(specifying video driver when X can auto-probe), or actively harmful (disabl
hotplugged input devices). Nothing in this file needs to be specified, so
delete it and let X auto-configure itself.
Thanks,
Tom
> Signed-off-by: Ong Boon Leong <boon.leong.ong at intel.com>
> ---
> .../xserver-xf86-config/haswell-wc/xorg.conf | 26 ++++++++++++++++++++
> .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 1 +
> 2 files changed, 27 insertions(+)
> create mode 100644 meta-haswell-wc/recipes-graphics/xorg-xserver/xserver-xf86-config/haswell-wc/xorg.conf
> create mode 100644 meta-haswell-wc/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>
> diff --git a/meta-haswell-wc/recipes-graphics/xorg-xserver/xserver-xf86-config/haswell-wc/xorg.conf b/meta-haswell-wc/recipes-graphics/xorg-xserver/xserver-xf86-config/haswell-wc/xorg.conf
> new file mode 100644
> index 0000000..96b94b4
> --- /dev/null
> +++ b/meta-haswell-wc/recipes-graphics/xorg-xserver/xserver-xf86-config/haswell-wc/xorg.conf
> @@ -0,0 +1,26 @@
> +Section "Device"
> + Identifier "Intel Graphics Driver"
> + Driver "intel"
> +EndSection
> +
> +Section "Monitor"
> + Identifier "Generic Monitor"
> + Option "DPMS"
> +EndSection
> +
> +Section "Screen"
> + Identifier "Default Screen"
> + Device "Intel Graphics Driver"
> + Monitor "Generic Monitor"
> + DefaultDepth 24
> +EndSection
> +
> +Section "ServerLayout"
> + Identifier "Default Layout"
> + Screen "Default Screen"
> +EndSection
> +
> +Section "ServerFlags"
> + Option "DontZap" "0"
> + Option "AutoAddDevices" "False"
> +EndSection
> diff --git a/meta-haswell-wc/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-haswell-wc/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> new file mode 100644
> index 0000000..72d991c
> --- /dev/null
> +++ b/meta-haswell-wc/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> @@ -0,0 +1 @@
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
More information about the meta-intel
mailing list