summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-15Convert function target attributes to pragmaChris Wilson
We need to not only cover the function in the target=sse4.1 but the include as well. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Damien Lespiau <damien.lespiau@intel.com>
2016-07-15igt/vgem_slow/nohang: Test fence autotimeoutChris Wilson
To protect the kernel against unscrupulous fence users, fences should automatically signal after a timeout. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-14tools/intel_bios_reader: Dump out more of the eDP blockVille Syrjälä
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2016-07-14tools/intel_bios_reader: Dump out more information from the child device ↵Ville Syrjälä
structure Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2016-07-14tools/intel_bios_reader: Dump more bits for general bit definitions block (1)Ville Syrjälä
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2016-07-14lib/intel_device_info: One spelling mistake lessChris Wilson
A spelling fix patch must always include one mistake. What does that mean when the patch only contains a single change? Even though I had the bspec open, I still managed to confuse a 'li' for 'll' Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-14lib/intel_device_info: Fix a couple of misspellings.Chris Wilson
aaglelake, the Scottish version. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-14Bump libdrm-intel dependency library to a newer version that support softpin.Marius Vlad
Required by commit 2603b98ca (aubdump: Support softpin bos). Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> CC: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
2016-07-14lib/igt_kms: Fix different order of properties and their name stringsRobert Foss
igt_crtc_prop_names and igt_atomic_crtc_properties have different orders of properties, which is fixed in this patch. Signed-off-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-12vgem: Add basic dma-buf fence interopChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-12igt/pm_rps: Avoid inadvertent waitboostingChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-12lib/drmtest: add virtio_gpu supportGustavo Padovan
Support the virtio GPU on drmtest. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-07-12lib/drmtest: Fix igt_skip messageGustavo Padovan
Now other gpus are supported too. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-07-11igt/gem_exec_flush: Test movntqda reads from WCChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-11igt/gem_gtt_speed: Measure the benefit of movntqdaChris Wilson
Suggested-by: Akash Goel <akash.goel@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-11lib; Add x86 cpuid based feature detectionChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-09igt/pm_rpm: Fix requirement for external modulesChris Wilson
Don't just fail, skip gracefully if an external module is unavailable. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-09igt/gem_busy: Include a hangcheckChris Wilson
Ensure that we eventually report idle if we call gem_busy() in a tight loop on a hanging batch. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-09lib/debugfs: Adjust path creation for opening /debugfs/.../dir/%dChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-08aubdump: Only close aub file if we opened itKristian Høgsberg Kristensen
2016-07-08aubdump: Support softpin bosKristian Høgsberg Kristensen
2016-07-07igt/prime_busy: Check the busy status is cleared upon a hangChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-06igt/gem_sync: Fix uninitialised variable 'n'Chris Wilson
Not a good day. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-05igt/gem_sync: Fix many_store() for printing out a single engineChris Wilson
The name for a single engine was unset, oops. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-05igt/gem_sync: Try and race the bottom-halfChris Wilson
In light of a bug in intel_breadcrumbs where we missed the interrupt when a new bottom half was installed and raced with the old bottom half being signaled, try and recreate that race. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-04demos/intel_sprite_on: Fix connector iteration bugjim.bride@linux.intel.com
Instead of looping until the first disconnected port is found, now go through all possible connectors, drawing the sprite on any connected display. v2: Print a message if we don't find any valid connectors. Signed-off-by: Jim Bride <jim.bride@linux.intel.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04configure: update bugzilla URLMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04lib/igt_gt: Fix unused variable warning for non-x86 targetsRobert Foss
Moved variable declaration inside #if case to avoid unused variable warnings on non-x86 targets. Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04kms_flip: Change __wait_for_vblank to use helper function.Robert Foss
Change __wait_for_vblank() to use kmstest_get_vbl_flag() helper function. Signed-off-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04igt_kms: Change igt_wait_for_vblank to use helper function.Robert Foss
Change igt_wait_for_vblank() to use kmstest_get_vbl_flag() helper function. Signed-off-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04kms_vblank: Switch from using crtc0 statically to explicitly setting mode.Robert Foss
Previously crtc0 was statically used for VBLANK tests, but that assumption is not valid for the VC4 platform. Instead we're now explicitly setting the mode. Also add support for testing all connected connectors during the same test. Signed-off-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04Added function kmstest_get_vbl_flag() to igt_kms.Marius Vlad
This function formats a pipe_id into the format expected by DRM while processing DRM_IOCTL_WAIT_VBLANK. Signed-off-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04lib/igt_kms: Switch to verbose assert.Robert Foss
Switch igt_assert to igt_assert_lte to provide more diagnostic information. Signed-off-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04lib/igt_kms: Fix plane counting in igt_display_init.Robert Foss
Fix issue where the plane counting fails due to the number and configuration of planes being unlike the intel configuration. Signed-off-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04lib/igt_kms: Add support for up to 10 planes.Robert Foss
Increase the number of planes supported to 10. kmstest_plane_name only previously supported 4 planes, this patch adds support for up to 10 planes. Signed-off-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-07-04tests/gvt_basic: Add a placeholder test to please check/distcheck.Marius Vlad
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-04overlay/Makefile.am: Remove i915_pciids.h from overlay sourcesMarius Vlad
Commit d308bb082d429eb25 (lib: Start weaning off defunct intel_chipset.h) moved i915_pciids.h to lib/ from overlay/ and now is packaged by lib/. Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-04igt/gem_sync: Extend with store synchronisationChris Wilson
Currently gem_sync exploits read-read optimisation to wait upon multiple rings simultaneously. But at the moment, gem_exec_flush is showing sporadic missed interrupts on bdw/skl and yet gem_sync is not. This is some subtlety in the timing, perhaps caused by the extra write. This set of tests tries to exercise that by using a write batch - which also means we exercise inter-ring synchronisation (like gem_storedw_loop). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-04lib: Enable squelching of simulated error statesChris Wilson
If the error state just contains the hanging batch, and we are not verifying the error capture, tell the kernel to ignore it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-03igt/gem_exec_gttfill: Reduce overhead in setting up filler batchesChris Wilson
Since all the batches start with the same content, we can reuse the same buf to fill them. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-03igt/gem_exec_whisper: Preallocate locations in GTT for whisperChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-03lib/igt_aux: Framework for measuring latency in raising signalsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-01igt/prime_busy: Promote the test for dma-buf implicit fences as basicChris Wilson
This is a requirement for interoperability that we fail. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-30intel_chipset: Remove unused PCI_CHIP idsChris Wilson
These are now taken from i915_pciids.h. However, some of the older ids are still used explicitly for per-devid information, and so are not yet removable. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-30intel_chipset: Replace lookup of GT size with computationChris Wilson
Instead of a large if-chain for matching devid to GT, we can just compute it directly from the encoded devid. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-30intel_chipset: Convert IS_G4X to device infoChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-30intel_chipset: Convert IS_915, IS_945 to device infoChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-30intel_chipset: Convert IS_PINEVIEW to device infoChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-30intel_chipset: Convert IS_IRONLAKE to device infoChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-30intel_chipset: Convert IS_IVYBRIDGE to device infoChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>