diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-04-24 22:47:47 -0700 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-04-25 14:27:19 -0700 |
commit | 3f371a98deada9aee53d908c9aa53f6cdcb1300b (patch) | |
tree | 558bca8fca939f1f9ca4f197db98e426dc65f893 /drivers/gpu/drm/xe/xe_guc_submit.c | |
parent | 3d44d67c441a9fe6f81a1d705f7de009a32a5b35 (diff) |
drm/xe: Delete unused GuC submission_state.suspend
GuC submission_state.suspend is unused, delete it.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240425054747.1918811-1-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_guc_submit.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_guc_submit.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c index 93e1ee183e4a..8f409c9e0f3c 100644 --- a/drivers/gpu/drm/xe/xe_guc_submit.c +++ b/drivers/gpu/drm/xe/xe_guc_submit.c @@ -273,7 +273,6 @@ static void primelockdep(struct xe_guc *guc) fs_reclaim_acquire(GFP_KERNEL); mutex_lock(&guc->submission_state.lock); - might_lock(&guc->submission_state.suspend.lock); mutex_unlock(&guc->submission_state.lock); fs_reclaim_release(GFP_KERNEL); @@ -301,9 +300,6 @@ int xe_guc_submit_init(struct xe_guc *guc) xa_init(&guc->submission_state.exec_queue_lookup); - spin_lock_init(&guc->submission_state.suspend.lock); - guc->submission_state.suspend.context = dma_fence_context_alloc(1); - primelockdep(guc); return drmm_add_action_or_reset(&xe->drm, guc_submit_fini, guc); |