Lines Matching full:gt
32 * is integrated in GT, the graphics driver needs to transfer the messages from
68 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_init_done() local
69 u32 fwsts1 = xe_mmio_read32(>->mmio, HECI_FWSTS1(MTL_GSC_HECI1_BASE)); in xe_gsc_proxy_init_done()
77 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_wait_for_proxy_init_done() local
80 return xe_mmio_wait32(>->mmio, HECI_FWSTS1(MTL_GSC_HECI1_BASE), in xe_gsc_wait_for_proxy_init_done()
88 struct xe_gt *gt = gsc_to_gt(gsc); in __gsc_proxy_irq_rmw() local
93 xe_mmio_rmw32(>->mmio, HECI_H_CSR(MTL_GSC_HECI2_BASE), clr, set); in __gsc_proxy_irq_rmw()
112 struct xe_gt *gt = gsc_to_gt(gsc); in proxy_send_to_csme() local
118 xe_gt_err(gt, "Failed to send CSME proxy message\n"); in proxy_send_to_csme()
124 xe_gt_err(gt, "Failed to receive CSME proxy message\n"); in proxy_send_to_csme()
133 struct xe_gt *gt = gsc_to_gt(gsc); in proxy_send_to_gsc() local
140 xe_gt_err(gt, "Invalid GSC proxy message size: %u\n", size); in proxy_send_to_gsc()
147 xe_gt_err(gt, "Failed to submit gsc proxy rq (%pe)\n", ERR_PTR(err)); in proxy_send_to_gsc()
154 static int validate_proxy_header(struct xe_gt *gt, in validate_proxy_header() argument
192 xe_gt_err(gt, in validate_proxy_header()
223 struct xe_gt *gt = gsc_to_gt(gsc); in proxy_query() local
224 struct xe_device *xe = gt_to_xe(gt); in proxy_query()
254 xe_gt_err(gt, "Invalid gsc header in proxy reply (%pe)\n", in proxy_query()
265 ret = validate_proxy_header(gt, to_csme_hdr, in proxy_query()
273 ret = validate_proxy_header(gt, to_csme_hdr, in proxy_query()
278 xe_gt_err(gt, "invalid GSC to CSME proxy header! (%pe)\n", in proxy_query()
296 xe_gt_err(gt, "CSME to GSC proxy msg too small: 0x%x\n", size); in proxy_query()
302 ret = validate_proxy_header(gt, gsc->proxy.from_csme, in proxy_query()
307 xe_gt_err(gt, "invalid CSME to GSC proxy header! %d\n", ret); in proxy_query()
327 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_request_handler() local
344 xe_gt_err(gt, "GSC proxy component not bound!\n"); in xe_gsc_proxy_request_handler()
360 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_irq_handler() local
366 xe_gt_err(gt, "GSC proxy irq received without the component being bound!\n"); in xe_gsc_proxy_irq_handler()
381 struct xe_gt *gt = xe->tiles[0].media_gt; in xe_gsc_proxy_component_bind() local
382 struct xe_gsc *gsc = >->uc.gsc; in xe_gsc_proxy_component_bind()
396 struct xe_gt *gt = xe->tiles[0].media_gt; in xe_gsc_proxy_component_unbind() local
397 struct xe_gsc *gsc = >->uc.gsc; in xe_gsc_proxy_component_unbind()
413 struct xe_gt *gt = gsc_to_gt(gsc); in proxy_channel_alloc() local
414 struct xe_tile *tile = gt_to_tile(gt); in proxy_channel_alloc()
415 struct xe_device *xe = gt_to_xe(gt); in proxy_channel_alloc()
441 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_remove() local
442 struct xe_device *xe = gt_to_xe(gt); in xe_gsc_proxy_remove()
450 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FW_GSC); in xe_gsc_proxy_remove()
452 xe_gt_err(gt, "failed to get forcewake to disable GSC interrupts\n"); in xe_gsc_proxy_remove()
457 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gsc_proxy_remove()
475 struct xe_gt *gt = gsc_to_gt(gsc); in xe_gsc_proxy_init() local
476 struct xe_tile *tile = gt_to_tile(gt); in xe_gsc_proxy_init()
482 xe_gt_info(gt, "can't init GSC proxy due to missing mei component\n"); in xe_gsc_proxy_init()
488 xe_gt_err(gt, "unexpected GSC proxy init on tile %u\n", tile->id); in xe_gsc_proxy_init()
499 xe_gt_err(gt, "Failed to add GSC_PROXY component (%pe)\n", ERR_PTR(err)); in xe_gsc_proxy_init()