linux/drivers/gpu/drm/xe/xe_guc_submit_types.h

/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

#ifndef _XE_GUC_SUBMIT_TYPES_H_
#define _XE_GUC_SUBMIT_TYPES_H_

#include "xe_hw_engine_types.h"

/* Work item for submitting workloads into work queue of GuC. */
#define WQ_STATUS_ACTIVE
#define WQ_STATUS_SUSPENDED
#define WQ_STATUS_CMD_ERROR
#define WQ_STATUS_ENGINE_ID_NOT_USED
#define WQ_STATUS_SUSPENDED_FROM_RESET
#define WQ_TYPE_NOOP
#define WQ_TYPE_MULTI_LRC
#define WQ_TYPE_MASK
#define WQ_LEN_MASK

#define WQ_GUC_ID_MASK
#define WQ_RING_TAIL_MASK

#define PARALLEL_SCRATCH_SIZE
#define WQ_SIZE
#define WQ_OFFSET
#define CACHELINE_BYTES

struct guc_sched_wq_desc {} __packed;

struct sync_semaphore {};

/**
 * struct guc_submit_parallel_scratch - A scratch shared mapped buffer.
 */
struct guc_submit_parallel_scratch {};

struct pending_list_snapshot {};

/**
 * struct xe_guc_submit_exec_queue_snapshot - Snapshot for devcoredump
 */
struct xe_guc_submit_exec_queue_snapshot {};

#endif