mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
drm/xe: Remove ct->fence_context
This is unused, remove it. Suggested-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
parent
757d9fdfe3
commit
8d7a91fe58
|
|
@ -140,7 +140,6 @@ int xe_guc_ct_init(struct xe_guc_ct *ct)
|
|||
mutex_init(&ct->lock);
|
||||
spin_lock_init(&ct->fast_lock);
|
||||
xa_init(&ct->fence_lookup);
|
||||
ct->fence_context = dma_fence_context_alloc(1);
|
||||
INIT_WORK(&ct->g2h_worker, g2h_worker_func);
|
||||
init_waitqueue_head(&ct->wq);
|
||||
init_waitqueue_head(&ct->g2h_fence_wq);
|
||||
|
|
|
|||
|
|
@ -100,8 +100,6 @@ struct xe_guc_ct {
|
|||
bool enabled;
|
||||
/** @fence_seqno: G2H fence seqno - 16 bits used by CT */
|
||||
u32 fence_seqno;
|
||||
/** @fence_context: context for G2H fence */
|
||||
u64 fence_context;
|
||||
/** @fence_lookup: G2H fence lookup */
|
||||
struct xarray fence_lookup;
|
||||
/** @wq: wait queue used for reliable CT sends and freeing G2H credits */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user