1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/i915/selftests
Jani Nikula 83e5af5997 drm/i915 & drm/xe: save struct drm_device to drvdata
In the future, the display code shall not have any idea about struct
xe_device or struct drm_i915_private, but will need to get at the struct
drm_device via drvdata. Store the struct drm_device pointer to drvdata
instead of the driver specific pointer.

Avoid passing NULL to container_of() via to_i915()/to_xe_device(). (It
does return NULL for NULL pointers when the offset happens to be 0, but
otherwise returns garbage pointers for NULL.)

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/946805b32e38d4785880cc7857e01e6a309126a9.1724942754.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2024-09-02 15:01:59 +03:00
..
i915_active.c drm/i915: use drm_printf() with the drm_err_printer intead of pr_err() 2024-02-09 11:52:09 +02:00
i915_gem.c drm/i915: use pat_index instead of cache_level 2023-05-11 17:38:55 +02:00
i915_gem_evict.c drm/i915: use pat_index instead of cache_level 2023-05-11 17:38:55 +02:00
i915_gem_gtt.c drm/i915/selftest: annotate maybe unused but set variable unused 2023-06-07 13:25:00 +03:00
i915_live_selftests.h drm/i915/gt: Add selftests for TLB invalidation 2023-02-01 16:17:41 +00:00
i915_mock_selftests.h drm: move the buddy allocator from i915 into common drm 2022-01-19 08:17:07 +01:00
i915_perf.c Merge tag 'drm-intel-gt-next-2023-08-04' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2023-08-07 13:49:25 +10:00
i915_perf_selftests.h drm/i915/gem: Zap the i915_gem_object_blt code 2021-06-17 14:23:15 +01:00
i915_random.c
i915_random.h
i915_request.c drm/i915/selftests: Annotate struct perf_series with __counted_by 2023-10-05 11:30:40 +02:00
i915_selftest.c drm/i915/dg2: wait for HuC load completion before running selftests 2024-04-19 08:02:37 -07:00
i915_sw_fence.c drm/i915/selftests: add local workqueue for SW fence selftest 2023-06-10 06:33:16 +03:00
i915_syncmap.c drm/i915/syncmap: squelch a sparse warning 2023-12-04 12:06:26 +02:00
i915_vma.c drm/i915: Rename ggtt_view as gtt_view 2022-09-08 10:24:17 +01:00
igt_atomic.c
igt_atomic.h
igt_flush_test.c drm/i915/selftests: Flush all tiles on test exit 2023-01-26 14:11:47 +01:00
igt_flush_test.h
igt_live_test.c drm/i915/selftests: Fix engine reset count storage for multi-tile 2023-12-07 11:39:01 +00:00
igt_live_test.h drm/i915/selftests: Fix engine reset count storage for multi-tile 2023-12-07 11:39:01 +00:00
igt_mmap.c drm/i915: Use ttm mmap handling for ttm bo's. 2021-06-11 10:53:25 +02:00
igt_mmap.h drm/i915: Use ttm mmap handling for ttm bo's. 2021-06-11 10:53:25 +02:00
igt_reset.c drm/i915/selftests: Use clear_and_wake_up_bit() for the per-engine reset bitlocks 2021-11-10 09:04:30 +01:00
igt_reset.h
igt_spinner.c drm/i915/selftests: Align igt_spinner_create_request with hangcheck 2023-08-16 13:57:17 -07:00
igt_spinner.h drm/i915: Add igt_spinner_pin() to allow for ww locking around spinner. 2021-03-24 17:27:21 +01:00
intel_memory_region.c drm/i915: Replace double blank with single blank after comma in gem/ and gt/ 2024-08-08 11:40:41 +01:00
intel_scheduler_helpers.c drm/i915/selftests: Fix dependency of some timeouts on HZ 2024-03-06 15:33:57 +02:00
intel_scheduler_helpers.h drm/i915/selftests: Add initial GuC selftest for scrubbing lost G2H 2021-09-13 11:30:38 -07:00
intel_uncore.c drm/i915: Drop dead code for pvc 2024-03-22 14:14:56 -07:00
lib_sw_fence.c drm/i915: Drop stealing of bits from i915_sw_fence function pointer 2021-11-30 17:52:15 -08:00
lib_sw_fence.h
librapl.c drm/i915/selftests: Only query RAPL for integrated power measurements 2021-04-20 10:49:05 +01:00
librapl.h drm/i915/selftests: Only query RAPL for integrated power measurements 2021-04-20 10:49:05 +01:00
mock_drm.h
mock_gem_device.c drm/i915 & drm/xe: save struct drm_device to drvdata 2024-09-02 15:01:59 +03:00
mock_gem_device.h drm/i915/selftest: Create mock_destroy_device 2020-09-21 10:36:24 +02:00
mock_gtt.c drm/i915: use pat_index instead of cache_level 2023-05-11 17:38:55 +02:00
mock_gtt.h drm/i915: Remove unused i915->ggtt 2022-01-05 10:49:02 -08:00
mock_region.c drm/i915: use i915_sg_dma_sizes() for all backends 2022-11-09 10:07:22 +00:00
mock_region.h drm/i915: add io_size plumbing 2022-02-28 08:47:27 +00:00
mock_request.c
mock_request.h
mock_uncore.c drm/i915/selftests: Use to_gt() helper 2021-12-17 21:51:00 -08:00
mock_uncore.h
scatterlist.c drm/i915: Check for integer truncation on scatterlist creation 2022-12-30 04:19:18 -05:00