Linux Audio

Check our new training course

Loading...
Note: File does not exist in v4.17.
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2023 Intel Corporation
 4 */
 5
 6#ifndef _XE_GSC_SUBMIT_H_
 7#define _XE_GSC_SUBMIT_H_
 8
 9#include <linux/types.h>
10
11struct iosys_map;
12struct xe_device;
13struct xe_gsc;
14
15u32 xe_gsc_emit_header(struct xe_device *xe, struct iosys_map *map, u32 offset,
16		       u8 heci_client_id, u64 host_session_id, u32 payload_size);
17
18bool xe_gsc_check_and_update_pending(struct xe_device *xe,
19				     struct iosys_map *in, u32 offset_in,
20				     struct iosys_map *out, u32 offset_out);
21
22int xe_gsc_read_out_header(struct xe_device *xe,
23			   struct iosys_map *map, u32 offset,
24			   u32 min_payload_size,
25			   u32 *payload_offset);
26
27int xe_gsc_pkt_submit_kernel(struct xe_gsc *gsc, u64 addr_in, u32 size_in,
28			     u64 addr_out, u32 size_out);
29
30#endif