Searched refs:hxg (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_ct.c | 441 u32 hxg; in ct_write() local 477 hxg = FIELD_PREP(GUC_HXG_MSG_0_TYPE, type) | in ct_write() 482 tail, 4, &header, 4, &hxg, 4 * (len - 1), &action[1]); in ct_write() 487 cmds[tail] = hxg; in ct_write() 1044 const u32 *hxg = &response->msg[GUC_CTB_MSG_MIN_LEN]; in ct_handle_response() local 1045 const u32 *data = &hxg[GUC_HXG_MSG_MIN_LEN]; in ct_handle_response() 1053 GEM_BUG_ON(FIELD_GET(GUC_HXG_MSG_0_ORIGIN, hxg[0]) != GUC_HXG_ORIGIN_GUC); in ct_handle_response() 1054 GEM_BUG_ON(FIELD_GET(GUC_HXG_MSG_0_TYPE, hxg[0]) != GUC_HXG_TYPE_RESPONSE_SUCCESS && in ct_handle_response() 1055 FIELD_GET(GUC_HXG_MSG_0_TYPE, hxg[0]) != GUC_HXG_TYPE_NO_RESPONSE_RETRY && in ct_handle_response() 1056 FIELD_GET(GUC_HXG_MSG_0_TYPE, hxg[0]) != GUC_HXG_TYPE_RESPONSE_FAILURE); in ct_handle_response() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_ct.c | 1312 u32 *hxg = msg_to_hxg(msg); in parse_g2h_event() local 1313 u32 action = FIELD_GET(GUC_HXG_EVENT_MSG_0_ACTION, hxg[0]); in parse_g2h_event() 1398 u32 *hxg = msg_to_hxg(msg); in parse_g2h_response() local 1401 u32 type = FIELD_GET(GUC_HXG_MSG_0_TYPE, hxg[0]); in parse_g2h_response() 1418 FIELD_GET(GUC_HXG_FAILURE_MSG_0_ERROR, hxg[0]), in parse_g2h_response() 1419 FIELD_GET(GUC_HXG_FAILURE_MSG_0_HINT, hxg[0])); in parse_g2h_response() 1448 g2h_fence->error = FIELD_GET(GUC_HXG_FAILURE_MSG_0_ERROR, hxg[0]); in parse_g2h_response() 1449 g2h_fence->hint = FIELD_GET(GUC_HXG_FAILURE_MSG_0_HINT, hxg[0]); in parse_g2h_response() 1452 g2h_fence->reason = FIELD_GET(GUC_HXG_RETRY_MSG_0_REASON, hxg[0]); in parse_g2h_response() 1455 memcpy(g2h_fence->response_buffer, hxg, hxg_len * sizeof(u32)); in parse_g2h_response() [all …]
|