diff options
author | Thomas Backlund <tmb@mageia.org> | 2017-03-28 17:24:27 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2017-03-28 17:24:27 +0300 |
commit | 1ecd39ba24adb8de07998efa77c78403f6cbd977 (patch) | |
tree | e7d07e4683fd67e0bf2a3e620ccfe8ae787667c4 | |
parent | 3187693b28287dc9529c24913caa8625f3e3506f (diff) | |
download | drakx-kbd-mouse-x11-1ecd39ba24adb8de07998efa77c78403f6cbd977.tar drakx-kbd-mouse-x11-1ecd39ba24adb8de07998efa77c78403f6cbd977.tar.gz drakx-kbd-mouse-x11-1ecd39ba24adb8de07998efa77c78403f6cbd977.tar.bz2 drakx-kbd-mouse-x11-1ecd39ba24adb8de07998efa77c78403f6cbd977.tar.xz drakx-kbd-mouse-x11-1ecd39ba24adb8de07998efa77c78403f6cbd977.zip |
detect amdgpu (mga#20538)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | tools/display_driver_helper | 16 |
2 files changed, 15 insertions, 3 deletions
@@ -1,3 +1,5 @@ +- detect amdgpu (mga#20538) + Version 1.20 - 9 March 2017 - rely on libinput for synaptics (mga#20424) diff --git a/tools/display_driver_helper b/tools/display_driver_helper index d5488c0..c8b5461 100644 --- a/tools/display_driver_helper +++ b/tools/display_driver_helper @@ -30,9 +30,9 @@ fi export LC_ALL=C -KMS_DRIVERS="i915 radeon nouveau" +KMS_DRIVERS="i915 amdgpu radeon nouveau" # module names at run-time (hence nvidia instead of nvidia*): -KNOWN_MODULES="i915|radeon|nouveau|fglrx|nvidia" +KNOWN_MODULES="i915|amdgpu|radeon|nouveau|fglrx|nvidia" XORG_i915="intel" CONFLICTS_i915="" @@ -41,7 +41,10 @@ XORG_nouveau="nouveau" CONFLICTS_nouveau="nv nvidia" XORG_radeon="ati radeon" -CONFLICTS_radeon="fglrx" +CONFLICTS_radeon="fglrx amdgpu" + +XORG_amdgpu="amdgpu" +CONFLICTS_amdgpu="radeon" # Note: no /usr # See end of script for descriptions of global variables. @@ -58,6 +61,13 @@ check_driver() { check_xorg $name 0 || return 1 IS_KMS=1 ;; + amdgpu) + # implicitely loaded by X.org + check_xorg $name 0 || return 1 + IS_KMS=1 + # amdgpu KMS needs to be loaded before X server + NEEDS_LOAD_NOW=1 + ;; radeon) # implicitely loaded by X.org check_xorg $name 0 || return 1 |