• Dale B Stimson's avatar
    gem_ctx_isolation.c - Gen11 enabling for context isolation test · 67c72249
    Dale B Stimson authored
    This patch is a change to igt file tests/i915/gem_ctx_isolation.c to
    add and enable Gen11 support.
    
    This patch accounts for whitelisted registers appropriately for the
    different Gen levels.
    
    This patch accounts for the changed MMIO offsets of Gen11.
    
    This patch redefines MAX_REG from 0x40000 to 0x200000 due to the
    larger total register space for Gen11 mmio offsets.
    
    A current Gen11 SKU has two video engines (with indexes 0 and 2,
    for VCS0 and VCS2), with VCS1 not being used.
    
    Current kernel and igt limitations only allow for VCS0 and VCS1.
    Those limitations are in the process of being removed.  See for
    example the RFC/PATCH series on igt-dev from Andy Shyti:
        [igt-dev] [RFC PATCH v9 0/5] new engine discovery interface
    which depends on in-process kernel "media scalability" patches.
    
    Lacking the above infrastructure at the moment:
    
    The array of registers to be tested includes VCS2 and VCS3 registers.
    They are present as a provision for the future, but they will
    not actually be tested as those engines are not yet known to the
    underlying infrastructure.
    
    When run on Gen11 this patch skips the sub-tests for the non-existent VCS1
    with these warnings:
      Test requirement not met in function gem_require_engine, file ../lib/igt_gt.h:114:
      Test requirement: gem_has_engine(gem_fd, class, instance)
    Signed-off-by: default avatarDale B Stimson <dale.b.stimson@intel.com>
    Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
    67c72249
Name
Last commit
Last update
..
gem_bad_address.c Loading commit data...
gem_bad_batch.c Loading commit data...
gem_bad_blit.c Loading commit data...
gem_bad_reloc.c Loading commit data...
gem_basic.c Loading commit data...
gem_busy.c Loading commit data...
gem_caching.c Loading commit data...
gem_close.c Loading commit data...
gem_close_race.c Loading commit data...
gem_concurrent_all.c Loading commit data...
gem_concurrent_blit.c Loading commit data...
gem_cpu_reloc.c Loading commit data...
gem_create.c Loading commit data...
gem_cs_prefetch.c Loading commit data...
gem_cs_tlb.c Loading commit data...
gem_ctx_bad_destroy.c Loading commit data...
gem_ctx_create.c Loading commit data...
gem_ctx_exec.c Loading commit data...
gem_ctx_isolation.c Loading commit data...
gem_ctx_param.c Loading commit data...
gem_ctx_sseu.c Loading commit data...
gem_ctx_switch.c Loading commit data...
gem_ctx_thrash.c Loading commit data...
gem_double_irq_loop.c Loading commit data...
gem_eio.c Loading commit data...
gem_evict_alignment.c Loading commit data...
gem_evict_everything.c Loading commit data...
gem_exec_alignment.c Loading commit data...
gem_exec_async.c Loading commit data...
gem_exec_await.c Loading commit data...
gem_exec_bad_domains.c Loading commit data...
gem_exec_basic.c Loading commit data...
gem_exec_big.c Loading commit data...
gem_exec_blt.c Loading commit data...
gem_exec_capture.c Loading commit data...
gem_exec_create.c Loading commit data...
gem_exec_faulting_reloc.c Loading commit data...
gem_exec_fence.c Loading commit data...
gem_exec_flush.c Loading commit data...
gem_exec_gttfill.c Loading commit data...
gem_exec_latency.c Loading commit data...
gem_exec_lut_handle.c Loading commit data...
gem_exec_nop.c Loading commit data...
gem_exec_parallel.c Loading commit data...
gem_exec_params.c Loading commit data...
gem_exec_parse.c Loading commit data...
gem_exec_reloc.c Loading commit data...
gem_exec_reuse.c Loading commit data...
gem_exec_schedule.c Loading commit data...
gem_exec_store.c Loading commit data...
gem_exec_suspend.c Loading commit data...
gem_exec_whisper.c Loading commit data...
gem_fd_exhaustion.c Loading commit data...
gem_fence_thrash.c Loading commit data...
gem_fence_upload.c Loading commit data...
gem_fenced_exec_thrash.c Loading commit data...
gem_flink_basic.c Loading commit data...
gem_flink_race.c Loading commit data...
gem_gpgpu_fill.c Loading commit data...
gem_gtt_cpu_tlb.c Loading commit data...
gem_gtt_hog.c Loading commit data...
gem_gtt_speed.c Loading commit data...
gem_hang.c Loading commit data...
gem_largeobject.c Loading commit data...
gem_linear_blits.c Loading commit data...
gem_lut_handle.c Loading commit data...
gem_madvise.c Loading commit data...
gem_media_fill.c Loading commit data...
gem_media_vme.c Loading commit data...
gem_mmap.c Loading commit data...
gem_mmap_gtt.c Loading commit data...
gem_mmap_offset_exhaustion.c Loading commit data...
gem_mmap_wc.c Loading commit data...
gem_mocs_settings.c Loading commit data...
gem_non_secure_batch.c Loading commit data...
gem_partial_pwrite_pread.c Loading commit data...
gem_persistent_relocs.c Loading commit data...
gem_pipe_control_store_loop.c Loading commit data...
gem_ppgtt.c Loading commit data...
gem_pread.c Loading commit data...
gem_pread_after_blit.c Loading commit data...
gem_pwrite.c Loading commit data...
gem_pwrite_pread.c Loading commit data...
gem_pwrite_snooped.c Loading commit data...
gem_read_read_speed.c Loading commit data...
gem_readwrite.c Loading commit data...
gem_reg_read.c Loading commit data...
gem_reloc_overflow.c Loading commit data...
gem_reloc_vs_gpu.c Loading commit data...
gem_render_copy.c Loading commit data...
gem_render_copy_redux.c Loading commit data...
gem_render_linear_blits.c Loading commit data...
gem_render_tiled_blits.c Loading commit data...
gem_request_retire.c Loading commit data...
gem_reset_stats.c Loading commit data...
gem_ring_sync_copy.c Loading commit data...
gem_ring_sync_loop.c Loading commit data...
gem_ringfill.c Loading commit data...
gem_set_tiling_vs_blt.c Loading commit data...
gem_set_tiling_vs_gtt.c Loading commit data...
gem_set_tiling_vs_pwrite.c Loading commit data...
gem_shrink.c Loading commit data...
gem_softpin.c Loading commit data...
gem_spin_batch.c Loading commit data...
gem_stolen.c Loading commit data...
gem_storedw_batches_loop.c Loading commit data...
gem_storedw_loop.c Loading commit data...
gem_streaming_writes.c Loading commit data...
gem_stress.c Loading commit data...
gem_sync.c Loading commit data...
gem_threaded_access_tiled.c Loading commit data...
gem_tiled_blits.c Loading commit data...
gem_tiled_fence_blits.c Loading commit data...
gem_tiled_partial_pwrite_pread.c Loading commit data...
gem_tiled_pread_basic.c Loading commit data...
gem_tiled_pread_pwrite.c Loading commit data...
gem_tiled_swapping.c Loading commit data...
gem_tiled_wb.c Loading commit data...
gem_tiled_wc.c Loading commit data...
gem_tiling_max_stride.c Loading commit data...
gem_unfence_active_buffers.c Loading commit data...
gem_unref_active_buffers.c Loading commit data...
gem_userptr_blits.c Loading commit data...
gem_wait.c Loading commit data...
gem_workarounds.c Loading commit data...
gem_write_read_ring_switch.c Loading commit data...
gen3_mixed_blits.c Loading commit data...
gen3_render_linear_blits.c Loading commit data...
gen3_render_mixed_blits.c Loading commit data...
gen3_render_tiledx_blits.c Loading commit data...
gen3_render_tiledy_blits.c Loading commit data...
i915_fb_tiling.c Loading commit data...
i915_getparams_basic.c Loading commit data...
i915_hangman.c Loading commit data...
i915_missed_irq.c Loading commit data...
i915_module_load.c Loading commit data...
i915_pm_backlight.c Loading commit data...
i915_pm_lpsp.c Loading commit data...
i915_pm_rc6_residency.c Loading commit data...
i915_pm_rpm.c Loading commit data...
i915_pm_rps.c Loading commit data...
i915_pm_sseu.c Loading commit data...
i915_query.c Loading commit data...
i915_selftest.c Loading commit data...
i915_suspend.c Loading commit data...