10 Commits

3 changed files with 79 additions and 19 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

@@ -1,5 +1,5 @@
Name: intel-gpu-tools
Version: 1.9
Version: 1.24
Release: 1mamba
Summary: A collection of tools for development and testing of the Intel DRM driver
Group: System/X11
@@ -7,9 +7,11 @@ 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
Source: https://gitlab.freedesktop.org/drm/igt-gpu-tools.git/igt-gpu-tools-%{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
@@ -27,11 +29,11 @@ This is a collection of tools for development and testing of the Intel DRM drive
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.
%prep
%setup -q
#%patch0 -p1
#%patch1 -p2
%setup -q -n igt-gpu-tools-%{version}
#% patch3 -p1
%build
./autogen.sh
%configure
# PYTHON_CPPFLAGS="`pkg-config --cflags python3`"
@@ -46,23 +48,48 @@ There are many macro-level test suites that get used against our driver, includi
%files
%defattr(-,root,root)
%{_bindir}/chipset.py
%{_bindir}/eudb
%{_bindir}/gem_userptr_benchmark
%{_bindir}/dpcd_reg
%{_bindir}/igt_stats
%{_bindir}/intel_*
%{_bindir}/intel-gen4asm
%{_bindir}/intel-gen4disasm
%{_bindir}/intel-gpu-overlay
%{_bindir}/quick_dump.py
%{_bindir}/reg_access.py
%{_libdir}/I915ChipsetPython.la
%{_libdir}/I915ChipsetPython.so
%{_libdir}/pkgconfig/intel-gen4asm.pc
%dir %{_datadir}/gtk-doc/html/intel-gpu-tools/
%{_datadir}/gtk-doc/html/intel-gpu-tools/*
%{_mandir}/man1/intel_*.1*
%dir %{_libexecdir}/igt-gpu-tools
%{_libexecdir}/igt-gpu-tools/*
%dir %{_datadir}/igt-gpu-tools
%{_datadir}/igt-gpu-tools/*
%{_libdir}/intel_aubdump.la
%{_libdir}/intel_aubdump.so
%changelog
* 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