diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-04-24 09:57:27 +0900 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2015-04-24 09:57:27 +0900 |
commit | a49ad11af18dad74506c2f69d7bbda07b67529d2 (patch) | |
tree | 2fd08c25248ecfbb4969f3aa5284837db7edac49 /conf | |
parent | fa4aed6cf56048a6520eac57514e38db3685cd15 (diff) |
Add 10-amdgpu.conf xorg.conf.d snippet
This instructs Xorg >= 1.16 to try loading the amdgpu driver for devices
managed by the amdgpu kernel driver.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/10-amdgpu.conf | 5 | ||||
-rw-r--r-- | conf/Makefile.am | 24 |
2 files changed, 29 insertions, 0 deletions
diff --git a/conf/10-amdgpu.conf b/conf/10-amdgpu.conf new file mode 100644 index 0000000..338e898 --- /dev/null +++ b/conf/10-amdgpu.conf @@ -0,0 +1,5 @@ +Section "OutputClass" + Identifier "AMDgpu" + MatchDriver "amdgpu" + Driver "amdgpu" +EndSection
\ No newline at end of file diff --git a/conf/Makefile.am b/conf/Makefile.am new file mode 100644 index 0000000..7ab1586 --- /dev/null +++ b/conf/Makefile.am @@ -0,0 +1,24 @@ +# Copyright 2015 Advanced Micro Devices, Inc. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# on the rights to use, copy, modify, merge, publish, distribute, sub +# license, and/or sell copies of the Software, and to permit persons to whom +# the Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL +# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +if HAS_XORG_CONF_DIR +dist_config_DATA = 10-amdgpu.conf +endif |