diff options
| -rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf | 6 | ||||
| -rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf new file mode 100644 index 0000000..1a562ea --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | # | ||
| 2 | Section "Device" | ||
| 3 | Identifier "modeset" | ||
| 4 | Driver "modesetting" | ||
| 5 | Option "AccelMethod" "None" | ||
| 6 | EndSection | ||
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend index b361eef..7902f20 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | |||
| @@ -4,7 +4,9 @@ SRC_URI_append_rpi = " \ | |||
| 4 | file://xorg.conf.d/98-pitft.conf \ | 4 | file://xorg.conf.d/98-pitft.conf \ |
| 5 | file://xorg.conf.d/99-calibration.conf \ | 5 | file://xorg.conf.d/99-calibration.conf \ |
| 6 | " | 6 | " |
| 7 | 7 | SRC_URI_append_libc-musl_raspberrypi3-64 = " \ | |
| 8 | file://xorg.conf.d/10-noglamor.conf \ | ||
| 9 | " | ||
| 8 | do_install_append_rpi () { | 10 | do_install_append_rpi () { |
| 9 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" | 11 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" |
| 10 | if [ "${PITFT}" = "1" ]; then | 12 | if [ "${PITFT}" = "1" ]; then |
| @@ -13,5 +15,8 @@ do_install_append_rpi () { | |||
| 13 | install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ | 15 | install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ |
| 14 | fi | 16 | fi |
| 15 | } | 17 | } |
| 16 | 18 | do_install_append_libc-musl_raspberrypi3-64 () { | |
| 19 | install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ | ||
| 20 | install -m 0644 ${WORKDIR}/xorg.conf.d/10-noglamor.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ | ||
| 21 | } | ||
| 17 | FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*" | 22 | FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*" |
