[Intel-gfx] [PATCH v2 0/5] igt: adding parameter to drm_open_any and drm_open_any_master to allow specification of non-intel GPUs

Micah Fedke micah.fedke at collabora.co.uk
Tue Aug 11 08:39:37 PDT 2015


Changes since last version of patch:

Addressed comments from danvet and Chris Wilson:
 - removed api doc for __get_drm_device_name
 - included coccinelle script with commit
 - added signed-off-by and detailed comments to commit messages, including justification of drm_read changes
 - updated coding style and spaces-and-braces to match kernel coding style (let me know if i missed anything)
 - simplified crtc<->pipe mapping code by replacing call to kmstest_get_pipe_from_crtc_id() with array index 

Micah Fedke (5):
  lib: adding drm_open_driver() interface
  convert drm_open_any*() calls to drm_open_driver*(DRIVER_INTEL) calls
    with cocci
  lib: remove support for deprecated drm_open_any*() calls
  lib/tests: make kmstest_get_pipe_from_crtc_id and
    igt_enable_connectors generic to prepare for platform agnostic tests
  tests: make drm_read platform agnostic

 benchmarks/gem_userptr_benchmark.c       |  2 +-
 benchmarks/intel_upload_blit_large.c     |  2 +-
 benchmarks/intel_upload_blit_large_gtt.c |  2 +-
 benchmarks/intel_upload_blit_large_map.c |  2 +-
 benchmarks/intel_upload_blit_small.c     |  2 +-
 debugger/eudb.c                          |  2 +-
 lib/drmtest.c                            | 97 ++++++++++++++++++++------------
 lib/drmtest.h                            | 12 ++--
 lib/igt_gt.c                             |  2 +-
 lib/igt_kms.c                            |  9 +--
 lib/igt_kms.h                            |  2 +-
 tests/core_get_client_auth.c             |  6 +-
 tests/core_getclient.c                   |  2 +-
 tests/core_getstats.c                    |  2 +-
 tests/core_getversion.c                  |  2 +-
 tests/drm_import_export.c                |  4 +-
 tests/drm_read.c                         | 87 ++++++++++++++++------------
 tests/drm_vma_limiter.c                  |  2 +-
 tests/drm_vma_limiter_cached.c           |  2 +-
 tests/drm_vma_limiter_cpu.c              |  2 +-
 tests/drm_vma_limiter_gtt.c              |  2 +-
 tests/drv_getparams.c                    |  2 +-
 tests/drv_hangman.c                      |  4 +-
 tests/drv_suspend.c                      |  2 +-
 tests/eviction_common.c                  |  2 +-
 tests/gem_alive.c                        |  2 +-
 tests/gem_bad_address.c                  |  2 +-
 tests/gem_bad_batch.c                    |  2 +-
 tests/gem_bad_blit.c                     |  2 +-
 tests/gem_bad_length.c                   |  2 +-
 tests/gem_bad_reloc.c                    |  2 +-
 tests/gem_basic.c                        |  2 +-
 tests/gem_caching.c                      |  2 +-
 tests/gem_concurrent_blit.c              |  4 +-
 tests/gem_cpu_reloc.c                    |  2 +-
 tests/gem_cs_prefetch.c                  |  2 +-
 tests/gem_cs_tlb.c                       |  2 +-
 tests/gem_ctx_bad_destroy.c              |  2 +-
 tests/gem_ctx_bad_exec.c                 |  2 +-
 tests/gem_ctx_basic.c                    |  4 +-
 tests/gem_ctx_create.c                   |  2 +-
 tests/gem_ctx_exec.c                     |  2 +-
 tests/gem_ctx_param_basic.c              |  2 +-
 tests/gem_ctx_thrash.c                   |  4 +-
 tests/gem_double_irq_loop.c              |  2 +-
 tests/gem_dummy_reloc_loop.c             |  4 +-
 tests/gem_evict_alignment.c              |  2 +-
 tests/gem_evict_everything.c             |  2 +-
 tests/gem_exec_bad_domains.c             |  2 +-
 tests/gem_exec_big.c                     |  2 +-
 tests/gem_exec_blt.c                     |  2 +-
 tests/gem_exec_faulting_reloc.c          |  2 +-
 tests/gem_exec_lut_handle.c              |  2 +-
 tests/gem_exec_nop.c                     |  2 +-
 tests/gem_exec_params.c                  |  2 +-
 tests/gem_exec_parse.c                   |  2 +-
 tests/gem_fd_exhaustion.c                |  2 +-
 tests/gem_fence_thrash.c                 |  2 +-
 tests/gem_fence_upload.c                 |  8 +--
 tests/gem_fenced_exec_thrash.c           |  2 +-
 tests/gem_flink.c                        |  6 +-
 tests/gem_flink_race.c                   |  6 +-
 tests/gem_gpgpu_fill.c                   |  2 +-
 tests/gem_gtt_cpu_tlb.c                  |  2 +-
 tests/gem_gtt_hog.c                      |  4 +-
 tests/gem_gtt_speed.c                    |  2 +-
 tests/gem_hang.c                         |  2 +-
 tests/gem_hangcheck_forcewake.c          |  2 +-
 tests/gem_largeobject.c                  |  2 +-
 tests/gem_linear_blits.c                 |  2 +-
 tests/gem_lut_handle.c                   |  2 +-
 tests/gem_madvise.c                      |  8 +--
 tests/gem_media_fill.c                   |  2 +-
 tests/gem_mmap.c                         |  2 +-
 tests/gem_mmap_gtt.c                     |  4 +-
 tests/gem_mmap_offset_exhaustion.c       |  2 +-
 tests/gem_mmap_wc.c                      |  2 +-
 tests/gem_multi_bsd_sync_loop.c          |  4 +-
 tests/gem_non_secure_batch.c             |  2 +-
 tests/gem_partial_pwrite_pread.c         |  2 +-
 tests/gem_persistent_relocs.c            |  2 +-
 tests/gem_pin.c                          |  2 +-
 tests/gem_pipe_control_store_loop.c      |  2 +-
 tests/gem_ppgtt.c                        |  4 +-
 tests/gem_pread.c                        |  2 +-
 tests/gem_pread_after_blit.c             |  2 +-
 tests/gem_pwrite.c                       |  2 +-
 tests/gem_pwrite_pread.c                 |  2 +-
 tests/gem_readwrite.c                    |  2 +-
 tests/gem_reg_read.c                     |  2 +-
 tests/gem_reloc_overflow.c               |  2 +-
 tests/gem_reloc_vs_gpu.c                 |  4 +-
 tests/gem_render_copy.c                  |  2 +-
 tests/gem_render_copy_redux.c            |  2 +-
 tests/gem_render_linear_blits.c          |  2 +-
 tests/gem_render_tiled_blits.c           |  2 +-
 tests/gem_reset_stats.c                  | 40 ++++++-------
 tests/gem_ring_sync_copy.c               |  2 +-
 tests/gem_ring_sync_loop.c               |  2 +-
 tests/gem_ringfill.c                     |  2 +-
 tests/gem_seqno_wrap.c                   |  2 +-
 tests/gem_set_tiling_vs_blt.c            |  2 +-
 tests/gem_set_tiling_vs_gtt.c            |  2 +-
 tests/gem_set_tiling_vs_pwrite.c         |  2 +-
 tests/gem_storedw_batches_loop.c         |  2 +-
 tests/gem_storedw_loop_blt.c             |  2 +-
 tests/gem_storedw_loop_bsd.c             |  2 +-
 tests/gem_storedw_loop_render.c          |  2 +-
 tests/gem_storedw_loop_vebox.c           |  2 +-
 tests/gem_stress.c                       |  2 +-
 tests/gem_threaded_access_tiled.c        |  2 +-
 tests/gem_tiled_blits.c                  |  2 +-
 tests/gem_tiled_fence_blits.c            |  2 +-
 tests/gem_tiled_partial_pwrite_pread.c   |  2 +-
 tests/gem_tiled_pread.c                  |  2 +-
 tests/gem_tiled_pread_pwrite.c           |  2 +-
 tests/gem_tiled_swapping.c               |  2 +-
 tests/gem_tiled_wb.c                     |  2 +-
 tests/gem_tiled_wc.c                     |  2 +-
 tests/gem_tiling_max_stride.c            |  2 +-
 tests/gem_unfence_active_buffers.c       |  2 +-
 tests/gem_unref_active_buffers.c         |  2 +-
 tests/gem_userptr_blits.c                |  6 +-
 tests/gem_wait.c                         |  2 +-
 tests/gem_workarounds.c                  |  2 +-
 tests/gem_write_read_ring_switch.c       |  2 +-
 tests/gen3_mixed_blits.c                 |  2 +-
 tests/gen3_render_linear_blits.c         |  2 +-
 tests/gen3_render_mixed_blits.c          |  2 +-
 tests/gen3_render_tiledx_blits.c         |  2 +-
 tests/gen3_render_tiledy_blits.c         |  2 +-
 tests/gen7_forcewake_mt.c                |  2 +-
 tests/kms_3d.c                           |  2 +-
 tests/kms_addfb.c                        |  2 +-
 tests/kms_cursor_crc.c                   |  2 +-
 tests/kms_fbc_crc.c                      |  2 +-
 tests/kms_fence_pin_leak.c               |  2 +-
 tests/kms_flip.c                         |  4 +-
 tests/kms_flip_event_leak.c              |  4 +-
 tests/kms_flip_tiling.c                  |  2 +-
 tests/kms_force_connector.c              |  2 +-
 tests/kms_mmio_vs_cs_flip.c              |  2 +-
 tests/kms_pipe_crc_basic.c               |  4 +-
 tests/kms_plane.c                        |  2 +-
 tests/kms_psr_sink_crc.c                 |  2 +-
 tests/kms_pwrite_crc.c                   |  2 +-
 tests/kms_render.c                       |  2 +-
 tests/kms_rotation_crc.c                 |  2 +-
 tests/kms_setmode.c                      |  2 +-
 tests/kms_sink_crc_basic.c               |  2 +-
 tests/kms_universal_plane.c              |  2 +-
 tests/pm_lpsp.c                          |  2 +-
 tests/pm_rc6_residency.c                 |  4 +-
 tests/pm_rpm.c                           |  2 +-
 tests/pm_rps.c                           |  6 +-
 tests/prime_self_import.c                | 28 ++++-----
 tests/template.c                         |  2 +-
 tests/testdisplay.c                      |  2 +-
 tools/intel_display_poller.c             |  2 +-
 tools/intel_gpu_frequency.c              |  2 +-
 tools/intel_l3_parity.c                  |  2 +-
 tools/intel_perf_counters.c              |  2 +-
 162 files changed, 342 insertions(+), 305 deletions(-)

-- 
2.5.0



More information about the Intel-gfx mailing list