aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2017-05-26 17:09:39 +0500
committerAwais Belal <awais_belal@mentor.com>2017-05-26 18:17:49 +0500
commit812eda77f0dde892cbc9e696df132965923e42e3 (patch)
tree6ad5b69694af73ab110a9f9985a4b5bade3f1803
parentf49a56bd86d6e37f43091af29355613b3be84492 (diff)
downloadmeta-amd-812eda77f0dde892cbc9e696df132965923e42e3.tar.gz
meta-amd-812eda77f0dde892cbc9e696df132965923e42e3.tar.bz2
meta-amd-812eda77f0dde892cbc9e696df132965923e42e3.zip
xserver-xf86-config: fix BusID for v1000 platform
The V1000 platform implements the VGA controller on a different PCI bus than the earlier targets. This adjusts the PCI BusID in xorg.conf for the v1000 machine appropriately. Signed-off-by: Awais Belal <awais_belal@mentor.com>
-rw-r--r--meta-v1000/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-v1000/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-v1000/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
new file mode 100644
index 00000000..653346b5
--- /dev/null
+++ b/meta-v1000/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -0,0 +1,3 @@
+do_install_append_v1000 () {
+ sed -i -e 's/^\tBusID "PCI:0:1:0"/\tBusID "PCI:1:0:0"/' ${D}/${sysconfdir}/X11/xorg.conf
+}