Searched refs:GSC_HDR_SIZE (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_gsc_submit.c | 21 #define GSC_HDR_SIZE (sizeof(struct intel_gsc_mtl_header)) /* shorthand define */ macro 78 xe_map_memset(xe, map, offset, 0, GSC_HDR_SIZE); in xe_gsc_emit_header() 84 mtl_gsc_header_wr(xe, map, offset, message_size, payload_size + GSC_HDR_SIZE); in xe_gsc_emit_header() 86 return offset + GSC_HDR_SIZE; in xe_gsc_emit_header() 97 xe_map_memset(xe, map, offset, POISON_FREE, GSC_HDR_SIZE); in xe_gsc_poison_header() 145 u32 payload_size = size - GSC_HDR_SIZE; in xe_gsc_read_out_header() 156 if (size < GSC_HDR_SIZE || payload_size < min_payload_size) in xe_gsc_read_out_header() 160 *payload_offset = offset + GSC_HDR_SIZE; in xe_gsc_read_out_header() 182 if (size_in < GSC_HDR_SIZE) in xe_gsc_pkt_submit_kernel() 185 if (size_out < GSC_HDR_SIZE) in xe_gsc_pkt_submit_kernel()
|