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
This commit is contained in:
Egbert Eich 2016-03-25 06:56:20 +00:00 committed by Git OBS Bridge
parent 70d5bd35c9
commit 05fa8ffb25
3 changed files with 103 additions and 0 deletions

84
amdgpu.ids Normal file
View File

@ -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

View File

@ -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

View File

@ -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