From 05fa8ffb25790b85f5dff412775b26c9bf04e8f125d5f65c8f517b962d81ffae Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Fri, 25 Mar 2016 06:56:20 +0000 Subject: [PATCH] Accepting request 379539 from home:eeich:branches:X11:XOrg - Add amdgpu.ids which lists all supported PCI Id for server (boo#972126). OBS-URL: https://build.opensuse.org/request/show/379539 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-amdgpu?expand=0&rev=11 --- amdgpu.ids | 84 +++++++++++++++++++++++++++++++++++++++ xf86-video-amdgpu.changes | 6 +++ xf86-video-amdgpu.spec | 13 ++++++ 3 files changed, 103 insertions(+) create mode 100644 amdgpu.ids diff --git a/amdgpu.ids b/amdgpu.ids new file mode 100644 index 0000000..11a8cea --- /dev/null +++ b/amdgpu.ids @@ -0,0 +1,84 @@ +# AMDGPU PCI Ids. To enable the amdgpu driver for your device +# find the PCI ID in the list and uncomment the entry (remove the '#'). +# If your device is not enabled on the list and you find it to be working, +# please let us know in: +# http://bugzilla.opensuse.org/show_bug.cgi?id=972126 +#10026640 +#10026641 +#10026649 +#10026650 +#10026651 +#10026658 +#1002665C +#1002665D +#1002665F +#10029830 +#10029831 +#10029832 +#10029833 +#10029834 +#10029835 +#10029836 +#10029837 +#10029838 +#10029839 +#1002983A +#1002983B +#1002983C +#1002983D +#1002983E +#1002983F +#10021304 +#10021305 +#10021306 +#10021307 +#10021309 +#1002130A +#1002130B +#1002130C +#1002130D +#1002130E +#1002130F +#10021310 +#10021311 +#10021312 +#10021313 +#10021315 +#10021316 +#10021317 +#1002131B +#1002131C +#1002131D +#100267A0 +#100267A1 +#100267A2 +#100267A8 +#100267A9 +#100267AA +#100267B0 +#100267B1 +#100267B8 +#100267B9 +#100267BA +#100267BE +#10026900 +#10026901 +#10026902 +#10026903 +#10026907 +#10026920 +#10026921 +#10026928 +#10026929 +#1002692B +#1002692F +#10026930 +#10026938 +10026939 +#10029870 +#10029874 +#10029875 +#10029876 +#10029877 +#10027300 +#100298E4 \ No newline at end of file diff --git a/xf86-video-amdgpu.changes b/xf86-video-amdgpu.changes index 58cd45c..ba37f27 100644 --- a/xf86-video-amdgpu.changes +++ b/xf86-video-amdgpu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 22 12:48:37 UTC 2016 - eich@suse.com + +- Add amdgpu.ids which lists all supported PCI Id for server + (boo#972126). + ------------------------------------------------------------------- Tue Feb 23 18:19:10 UTC 2016 - mimi.vx@gmail.com diff --git a/xf86-video-amdgpu.spec b/xf86-video-amdgpu.spec index 1b20d53..8b76a5e 100644 --- a/xf86-video-amdgpu.spec +++ b/xf86-video-amdgpu.spec @@ -16,6 +16,11 @@ # +# +%if 0%{?suse_version} >= 1330 +%define pci_ids_dir %{_sysconfdir}/X11/xorg_pci_ids +%endif + Name: xf86-video-amdgpu Version: 1.0.1 Release: 0 @@ -24,6 +29,7 @@ License: MIT Group: System/X11/Servers/XF86_4 Url: http://xorg.freedesktop.org/ Source0: %{name}-%{version}.tar.bz2 +Source1: amdgpu.ids BuildRequires: Mesa-devel BuildRequires: autoconf >= 2.6.0 BuildRequires: automake @@ -66,6 +72,10 @@ make %{?_smp_mflags} %make_install find %{buildroot} -type f -name "*.la" -delete -print rm -f %{buildroot}%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf +%if 0%{?pci_ids_dir:1} +%{__mkdir_p} %{buildroot}%{pci_ids_dir} +cp %{S:1} %{buildroot}%{pci_ids_dir}/ +%endif %files %defattr(-,root,root) @@ -73,5 +83,8 @@ rm -f %{buildroot}%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf %dir %{_libdir}/xorg/modules/drivers %{_libdir}/xorg/modules/drivers/amdgpu_drv.so %{_mandir}/man4/amdgpu.4%{?ext_man} +%if 0%{?pci_ids_dir:1} +%{pci_ids_dir}/amdgpu.ids +%endif %changelog