This allows the tools to build on Solaris 11, using either gcc 4.5.2 or Solaris Studio 12.3. The tools that require the Linux debugfs don't run, but others, such as intel_gpu_top and intel_reg_dumper do work.
I've tried not to break any other platforms, but haven't tested on any to confirm that. Alan Coopersmith (6): Provide Solaris implementation of intel_get_total_ram_mb Solaris defines struct winsize in termios.h Use sched_yield if pthread_yield is not available List out array values instead of using gcc range extension include <fcntl.h> in lib/intel_mmio.c for open() prototype on Solaris Fix pthread compiler flags to work on Solaris and with Studio compiler configure.ac | 21 ++++++++++++++++++--- lib/intel_drm.c | 18 +++++++++++++++++- lib/intel_mmio.c | 1 + tests/Makefile.am | 2 +- tests/gem_fence_thrash.c | 6 ++++++ tools/intel_audio_dump.c | 9 +++++++-- tools/intel_gpu_top.c | 5 +++++ 7 files changed, 55 insertions(+), 7 deletions(-) -- 1.7.3.2 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel