Lines Matching refs:hdcp_message
70 struct intel_hdcp_gsc_message *hdcp_message) in intel_hdcp_gsc_initialize_message() argument
92 hdcp_message->hdcp_bo = bo; in intel_hdcp_gsc_initialize_message()
93 hdcp_message->hdcp_cmd_in = cmd_in; in intel_hdcp_gsc_initialize_message()
94 hdcp_message->hdcp_cmd_out = cmd_out; in intel_hdcp_gsc_initialize_message()
101 struct intel_hdcp_gsc_message *hdcp_message; in intel_hdcp_gsc_hdcp2_init() local
104 hdcp_message = kzalloc(sizeof(*hdcp_message), GFP_KERNEL); in intel_hdcp_gsc_hdcp2_init()
106 if (!hdcp_message) in intel_hdcp_gsc_hdcp2_init()
113 ret = intel_hdcp_gsc_initialize_message(xe, hdcp_message); in intel_hdcp_gsc_hdcp2_init()
116 kfree(hdcp_message); in intel_hdcp_gsc_hdcp2_init()
120 xe->display.hdcp.hdcp_message = hdcp_message; in intel_hdcp_gsc_hdcp2_init()
164 struct intel_hdcp_gsc_message *hdcp_message = in intel_hdcp_gsc_fini() local
165 xe->display.hdcp.hdcp_message; in intel_hdcp_gsc_fini()
168 if (hdcp_message) { in intel_hdcp_gsc_fini()
169 xe_bo_unpin_map_no_vm(hdcp_message->hdcp_bo); in intel_hdcp_gsc_fini()
170 kfree(hdcp_message); in intel_hdcp_gsc_fini()
171 xe->display.hdcp.hdcp_message = NULL; in intel_hdcp_gsc_fini()
179 struct intel_hdcp_gsc_message *hdcp_message, in xe_gsc_send_sync() argument
183 struct xe_gt *gt = hdcp_message->hdcp_bo->tile->media_gt; in xe_gsc_send_sync()
184 struct iosys_map *map = &hdcp_message->hdcp_bo->vmap; in xe_gsc_send_sync()
188 ret = xe_gsc_pkt_submit_kernel(gsc, hdcp_message->hdcp_cmd_in, msg_size_in, in xe_gsc_send_sync()
189 hdcp_message->hdcp_cmd_out, msg_size_out); in xe_gsc_send_sync()
209 struct intel_hdcp_gsc_message *hdcp_message; in intel_hdcp_gsc_msg_send() local
222 hdcp_message = xe->display.hdcp.hdcp_message; in intel_hdcp_gsc_msg_send()
227 addr_in_wr_off = xe_gsc_emit_header(xe, &hdcp_message->hdcp_bo->vmap, in intel_hdcp_gsc_msg_send()
230 xe_map_memcpy_to(xe, &hdcp_message->hdcp_bo->vmap, addr_in_wr_off, in intel_hdcp_gsc_msg_send()
239 ret = xe_gsc_send_sync(xe, hdcp_message, msg_size_in, msg_size_out, in intel_hdcp_gsc_msg_send()
253 xe_map_memcpy_from(xe, msg_out, &hdcp_message->hdcp_bo->vmap, in intel_hdcp_gsc_msg_send()