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

#ifndef _XE_GUC_ADS_TYPES_H_
#define _XE_GUC_ADS_TYPES_H_

#include <linux/types.h>

struct xe_bo;

/**
 * struct xe_guc_ads - GuC additional data structures (ADS)
 */
struct xe_guc_ads {
	/** @bo: Xe BO for GuC ads blob */
	struct xe_bo *bo;
	/**
	 * @um_queue_bo: Dedicated BO for the HW fault ring (UM queues).
	 * NULL if the platform does not support USM.
	 */
	struct xe_bo *um_queue_bo;
	/** @golden_lrc_size: golden LRC size */
	size_t golden_lrc_size;
	/** @regset_size: size of register set passed to GuC for save/restore */
	u32 regset_size;
	/** @ads_waklv_size: total waklv size supported by platform */
	u32 ads_waklv_size;
	/** @capture_size: size of register set passed to GuC for capture */
	u32 capture_size;
};

#endif