- make the driver default for Tumbleweed (upcoming Leap 42.3,

sle13, ...), if "amdgpu" is the kernel driver of the device;
  still use device list specified in amdgpu.ids for older
  distributions like Leap 42.2, sle12, ...

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-amdgpu?expand=0&rev=25
This commit is contained in:
Stefan Dirsch 2017-02-03 11:34:20 +00:00 committed by Git OBS Bridge
parent 98e5225c0c
commit 2eedf10377
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Feb 3 11:05:07 UTC 2017 - sndirsch@suse.com
- make the driver default for Tumbleweed (upcoming Leap 42.3,
sle13, ...), if "amdgpu" is the kernel driver of the device;
still use device list specified in amdgpu.ids for older
distributions like Leap 42.2, sle12, ...
-------------------------------------------------------------------
Mon Jan 30 11:30:56 UTC 2017 - sndirsch@suse.com

View File

@ -17,7 +17,7 @@
#
%if 0%{?suse_version} >= 1330
%if 0%{?suse_version} < 1330
%define pci_ids_dir %{_sysconfdir}/X11/xorg_pci_ids
%endif
@ -73,8 +73,8 @@ make %{?_smp_mflags}
%install
%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}
rm -f %{buildroot}%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
%{__mkdir_p} %{buildroot}%{pci_ids_dir}
cp %{S:3} %{buildroot}%{pci_ids_dir}/
%endif
@ -86,7 +86,9 @@ cp %{S:3} %{buildroot}%{pci_ids_dir}/
%{_libdir}/xorg/modules/drivers/amdgpu_drv.so
%{_mandir}/man4/amdgpu.4%{?ext_man}
%if 0%{?pci_ids_dir:1}
%config %{pci_ids_dir}/amdgpu.ids
%{pci_ids_dir}/amdgpu.ids
%else
%config %{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
%endif
%changelog