linux-stable/drivers/gpu/drm/i915/gt
Chris Wilson f2cb60e9a3 dma-fence: Store the timestamp in the same union as the cb_list
The timestamp and the cb_list are mutually exclusive, the cb_list can
only be added to prior to being signaled (and once signaled we drain),
while the timestamp is only valid upon being signaled. Both the
timestamp and the cb_list are only valid while the fence is alive, and
as soon as no references are held can be replaced by the rcu_head.

By reusing the union for the timestamp, we squeeze the base dma_fence
struct to 64 bytes on x86-64.

v2: Sort the union chronologically

Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Christian König <christian.koenig@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>.
Link: https://patchwork.freedesktop.org/patch/msgid/20190817153022.5749-1-chris@chris-wilson.co.uk
2019-08-17 18:46:33 +01:00
..
intel_breadcrumbs.c dma-fence: Store the timestamp in the same union as the cb_list 2019-08-17 18:46:33 +01:00
intel_context.c
intel_context.h
intel_context_types.h
intel_engine.h
intel_engine_cs.c
intel_engine_pm.c
intel_engine_pm.h
intel_engine_types.h
intel_gpu_commands.h
intel_gt_pm.c
intel_gt_pm.h
intel_hangcheck.c
intel_lrc.c drm/i915/execlists: Detect cross-contamination with GuC 2019-06-19 12:18:14 +01:00
intel_lrc.h
intel_lrc_reg.h
intel_mocs.c
intel_mocs.h
intel_reset.c
intel_reset.h
intel_ringbuffer.c drm/i915: Stop passing I915_WAIT_LOCKED to i915_request_wait() 2019-06-19 12:58:38 +01:00
intel_sseu.c
intel_sseu.h
intel_workarounds.c Features: 2019-06-21 14:00:10 +10:00
intel_workarounds.h
intel_workarounds_types.h
Makefile
Makefile.header-test
mock_engine.c
mock_engine.h
selftest_engine_cs.c
selftest_hangcheck.c drm/i915: Stop passing I915_WAIT_LOCKED to i915_request_wait() 2019-06-19 12:58:38 +01:00
selftest_lrc.c drm/i915: Stop passing I915_WAIT_LOCKED to i915_request_wait() 2019-06-19 12:58:38 +01:00
selftest_reset.c
selftest_workarounds.c drm/i915: Stop passing I915_WAIT_LOCKED to i915_request_wait() 2019-06-19 12:58:38 +01:00