aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-graphics
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-08-28 18:33:18 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-08-28 19:48:07 +0500
commitc284f8672a5aa60295b3ddfbd3091bbdb1f3a60a (patch)
tree6716bae91f437c8397b8cfe8e71da0281f6f2496 /meta-amd-bsp/recipes-graphics
parentf9afe54232f8b00393932b2d2f1e9fdebd0e4a2b (diff)
downloadmeta-amd-c284f8672a5aa60295b3ddfbd3091bbdb1f3a60a.tar.gz
meta-amd-c284f8672a5aa60295b3ddfbd3091bbdb1f3a60a.tar.bz2
meta-amd-c284f8672a5aa60295b3ddfbd3091bbdb1f3a60a.zip
meta-amd-bsp: move xserver-xf86-config recipe here from r1000 & v1000
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Diffstat (limited to 'meta-amd-bsp/recipes-graphics')
-rw-r--r--meta-amd-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-amd-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
index 57926ab0..0c0d1067 100644
--- a/meta-amd-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/meta-amd-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -41,3 +41,11 @@ set_xorg_opts() {
fi
done
}
+
+do_install_append_r1000 () {
+ sed -i -e 's/^\tBusID "PCI:0:1:0"/\t#BusID "PCI:1:0:0"/' ${D}/${sysconfdir}/X11/xorg.conf
+}
+
+do_install_append_v1000 () {
+ sed -i -e 's/^\tBusID "PCI:0:1:0"/\t#BusID "PCI:1:0:0"/' ${D}/${sysconfdir}/X11/xorg.conf
+}