16 Commits

Author SHA1 Message Date
33105a973a automatic version update by autodist [release 1.28-1mamba;Thu Sep 21 2023] 2024-01-05 23:55:48 +01:00
9cbf5ae3e0 update to 1.27.1 [release 1.27.1-1mamba;Wed Jan 25 2023] 2024-01-05 23:55:48 +01:00
4a0ef210a4 automatic version update by autodist [release 1.26-1mamba;Thu May 13 2021] 2024-01-05 23:55:47 +01:00
957fe60629 automatic version update by autodist [release 1.25-1mamba;Sun Mar 29 2020] 2024-01-05 23:55:47 +01:00
7d6c4e931c update to 1.24 [release 1.24-1mamba;Sat Aug 17 2019] 2024-01-05 23:55:47 +01:00
f1e2c12778 update to 1.22 [release 1.22-1mamba;Sun Jul 29 2018] 2024-01-05 23:55:47 +01:00
7189eb3859 automatic version update by autodist [release 1.20-1mamba;Wed Dec 20 2017] 2024-01-05 23:55:47 +01:00
2a16e179f1 update to 1.19
rebuilt for i586 to provide intel-gen4asm* [release 1.19-1mamba;Sat Sep 02 2017]
2024-01-05 23:55:47 +01:00
cb647ea48c automatic version update by autodist [release 1.16-1mamba;Sat Oct 29 2016] 2024-01-05 23:55:47 +01:00
6500e42849 automatic version update by autodist [release 1.15-1mamba;Thu Jun 02 2016] 2024-01-05 23:55:47 +01:00
38fa13320b automatic version update by autodist [release 1.14-1mamba;Thu Mar 10 2016] 2024-01-05 23:55:47 +01:00
63309e73d1 automatic version update by autodist [release 1.13-1mamba;Thu Dec 03 2015] 2024-01-05 23:55:47 +01:00
9072c2e2f1 automatic version update by autodist [release 1.12-1mamba;Sun Sep 13 2015] 2024-01-05 23:55:47 +01:00
e8a69cfbac automatic version update by autodist [release 1.10-1mamba;Fri Mar 13 2015] 2024-01-05 23:55:47 +01:00
7830cb961f automatic version update by autodist [release 1.9-1mamba;Sat Dec 27 2014] 2024-01-05 23:55:47 +01:00
71e8258c28 automatic version update by autodist [release 1.8-1mamba;Thu Sep 18 2014] 2024-01-05 23:55:47 +01:00
5 changed files with 199 additions and 11 deletions

View File

@@ -0,0 +1,20 @@
--- intel-gpu-tools-1.10/lib/intel_batchbuffer.c.orig 2015-03-25 00:26:50.835000000 +0100
+++ intel-gpu-tools-1.10/lib/intel_batchbuffer.c 2015-03-25 00:27:28.233000000 +0100
@@ -548,7 +548,7 @@
memset(obj, 0, sizeof(*obj));
obj->handle = gem_handle;
obj->relocation_count = count;
- obj->relocs_ptr = (uint64_t)relocs;
+ obj->relocs_ptr = (uintptr_t)relocs;
}
static void exec_blit(int fd,
@@ -557,7 +557,7 @@
{
struct drm_i915_gem_execbuffer2 exec;
- exec.buffers_ptr = (uint64_t)objs;
+ exec.buffers_ptr = (uintptr_t)objs;
exec.buffer_count = count;
exec.batch_start_offset = 0;
exec.batch_len = batch_len * 4;

View File

@@ -0,0 +1,13 @@
diff --git a/lib/igt_x86.h b/lib/igt_x86.h
index d6dcfa1..27b7f0f 100644
--- a/lib/igt_x86.h
+++ b/lib/igt_x86.h
@@ -40,7 +40,7 @@
#define AVX 0x80
#define AVX2 0x100
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(__i386__)
unsigned igt_x86_features(void);
char *igt_x86_features_to_string(unsigned features, char *line);
#else

View File

@@ -0,0 +1,11 @@
--- intel-gpu-tools-1.3/lib/drmtest.h.orig 2013-04-11 14:26:55.685097783 +0200
+++ intel-gpu-tools-1.3/lib/drmtest.h 2013-04-11 14:27:03.004028824 +0200
@@ -31,7 +31,7 @@
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
-#include <cairo.h>
+#include <cairo/cairo.h>
#include "xf86drm.h"
#include "xf86drmMode.h"

View File

@@ -0,0 +1,14 @@
Specify the encoding, in case it's not the same as the locale.
diff -x config.log -x config.status -ru tmp/intel-gpu-tools-1.7/debugger/system_routine/pre_cpp.py work/intel-gpu-tools-1.7/debugger/system_routine/pre_cpp.py
--- tmp/intel-gpu-tools-1.7/debugger/system_routine/pre_cpp.py 2014-05-13 13:31:22.000000000 +0100
+++ work/intel-gpu-tools-1.7/debugger/system_routine/pre_cpp.py 2014-06-30 23:16:12.743000000 +0100
@@ -33,7 +33,7 @@
import sys,re
-file = open(sys.argv[1], "r")
+file = open(sys.argv[1], "r", encoding="UTF-8")
lines = file.readlines()
len(lines)

View File

@@ -1,48 +1,178 @@
Name: intel-gpu-tools
Version: 1.1
Version: 1.28
Release: 1mamba
Summary: A collection of tools for development and testing of the Intel DRM driver
Group: System/X11
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://x.org
Source: ftp://x.org/pub/individual/app/intel-gpu-tools-%{version}.tar.bz2
URL: https://x.org/wiki/
Source: https://gitlab.freedesktop.org/drm/igt-gpu-tools.git/v%{version}/igt-gpu-tools-%{version}.tar.bz2
Patch0: intel-gpu-tools-1.3-libcairo.patch
Patch1: intel-gpu-tools-1.7-unicode.patch
Patch2: intel-gpu-tools-1.10-fix-32bit-pointer-to-int-cast.patch
Patch3: intel-gpu-tools-1.20-x86-ftbfs.patch
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libcairo-devel
BuildRequires: libdrm-devel
BuildRequires: libdw-devel
BuildRequires: libglib-devel
BuildRequires: libgsl-devel
BuildRequires: libjson-c-devel
BuildRequires: libkmod-devel
BuildRequires: libpciaccess-devel
BuildRequires: libpixman-devel
BuildRequires: libprocps3-devel
BuildRequires: libudev-devel
BuildRequires: libunwind-devel
BuildRequires: libxmlrpc-c-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: xorg-server-devel >= 1.1.0
BuildRequires: xorg-proto-devel >= %{xorg_ver}
BuildRequires: xorg-proto-devel
BuildRequires: xbitmaps-devel >= 1.0.1
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
This is a collection of tools for development and testing of the Intel DRM driver.
There are many macro-level test suites that get used against our driver, including xtest, rendercheck, piglit, and oglconform, but failures from those can be difficult to track down to kernel changes, and many require complicated build procedures or specific testing environments to get useful results.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package apidocs
Group: Documentation
Summary: Documentation for %{name}
%description apidocs
This package contains the API documentation for %{name}.
%debug_package
%prep
%setup -q
%setup -q -n igt-gpu-tools-%{version}
#% patch3 -p1
%build
%configure
%make
%meson
%meson_build
%install
%makeinstall
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/forcewaked
%{_bindir}/amd_hdmi_compliance
%{_bindir}/code_cov_*
%{_bindir}/dpcd_reg
%{_bindir}/gputop
%{_bindir}/igt_*
%{_bindir}/intel-*
%{_bindir}/msm_dp_compliance
%{_bindir}/intel_*
%{_mandir}/man1/intel_*.1.gz
%{_bindir}/i915-*
%{_bindir}/lsgpu
%{_bindir}/xe_reg
%dir %{_datadir}/igt-gpu-tools
%{_datadir}/igt-gpu-tools/*
%{_mandir}/man1/intel_*.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libigt.so.*
%{_libdir}/libi915_perf.so.*
%dir %{_libexecdir}/igt-gpu-tools
%{_libexecdir}/igt-gpu-tools/*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/i915-perf
%{_includedir}/i915-perf/*.h
%{_libdir}/libigt.so
%{_libdir}/libi915_perf.so
%{_libdir}/pkgconfig/i915-perf.pc
%{_libdir}/pkgconfig/intel-gen4asm.pc
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/igt-gpu-tools/
%{_datadir}/gtk-doc/html/igt-gpu-tools/*
%changelog
* Thu Sep 21 2023 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
- automatic version update by autodist
* Wed Jan 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.27.1-1mamba
- update to 1.27.1
* Thu May 13 2021 Automatic Build System <autodist@mambasoft.it> 1.26-1mamba
- automatic version update by autodist
* Sun Mar 29 2020 Automatic Build System <autodist@mambasoft.it> 1.25-1mamba
- automatic version update by autodist
* Sat Aug 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24-1mamba
- update to 1.24
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22-1mamba
- update to 1.22
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 1.20-1mamba
- automatic version update by autodist
* Sat Sep 02 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19-1mamba
- update to 1.19
- rebuilt for i586 to provide intel-gen4asm*
* Sat Oct 29 2016 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
- automatic version update by autodist
* Thu Jun 02 2016 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
- automatic version update by autodist
* Thu Mar 10 2016 Automatic Build System <autodist@mambasoft.it> 1.14-1mamba
- automatic version update by autodist
* Thu Dec 03 2015 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
- automatic version update by autodist
* Sun Sep 13 2015 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
- automatic version update by autodist
* Fri Mar 13 2015 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
- automatic version update by autodist
* Sat Dec 27 2014 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
- automatic version update by autodist
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 1.8-1mamba
- automatic version update by autodist
* Mon Jan 09 2012 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
- automatic version update by autodist