Skip to content

Commit c6f6750

Browse files
mikuintlucasdemarchi
authored andcommitted
drm/xe: Remove obsolete async_ops from struct xe_vm
When sync binds were reworked and worker removed, async_ops became obsolete. Remove it. Fixes: f3e9b1f ("drm/xe: Remove async worker and rework sync binds") Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Reviewed-by: Francois Dugast <francois.dugast@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240117110908.2362615-1-mika.kuoppala@linux.intel.com (cherry picked from commit e5f276d) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
1 parent 9eeeed8 commit c6f6750

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

drivers/gpu/drm/xe/xe_vm_types.h

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -189,30 +189,6 @@ struct xe_vm {
189189
*/
190190
struct xe_range_fence_tree rftree[XE_MAX_TILES_PER_DEVICE];
191191

192-
/** @async_ops: async VM operations (bind / unbinds) */
193-
struct {
194-
/** @list: list of pending async VM ops */
195-
struct list_head pending;
196-
/** @work: worker to execute async VM ops */
197-
struct work_struct work;
198-
/** @lock: protects list of pending async VM ops and fences */
199-
spinlock_t lock;
200-
/** @fence: fence state */
201-
struct {
202-
/** @context: context of async fence */
203-
u64 context;
204-
/** @seqno: seqno of async fence */
205-
u32 seqno;
206-
} fence;
207-
/** @error: error state for async VM ops */
208-
int error;
209-
/**
210-
* @munmap_rebind_inflight: an munmap style VM bind is in the
211-
* middle of a set of ops which requires a rebind at the end.
212-
*/
213-
bool munmap_rebind_inflight;
214-
} async_ops;
215-
216192
const struct xe_pt_ops *pt_ops;
217193

218194
/** @userptr: user pointer state */

0 commit comments

Comments
 (0)