zynqmp_dp_aux_cmd_submit(9)
okay bestie, youβre on the zynqmp_dp_aux_cmd_submit(9) page of the Kernel API Manual β¨ and itβs literally all about submitting an aux command. Letβs get into it π
π NAME π
zynqmp_dp_aux_cmd_submit β Submit aux command π
β¨ SYNOPSIS β¨
Hereβs the signature, no cap:
int zynqmp_dp_aux_cmd_submit (struct zynqmp_dp *dp , u32 cmd , u16 addr
, u8 *buf , u8 bytes , u8 *reply );
π«Ά ARGUMENTS π«Ά
dpβ the DisplayPort IP core structure πcmdβ the aux commandaddrβ the aux addressbufβ buffer for command databytesβ number of bytes forbufreplyβ reply code to be returned π
π DESCRIPTION π
Okay so this function submits an aux command. Literally all aux related commands β native or i2c aux read/write β are submitted through this function. The function is mapped to the transfer function of struct drm_dp_aux. It involves multiple register reads/writes, so synchronization is needed, and thatβs done by drm_dp_helper using hw_mutex.
If thereβs no immediate reply to the command submission, the calling thread goes into sleep π΄. The reply code is returned at reply if reply != NULL β periodt.
π RETURN π
It gives you 0 if the command is submitted properly, or the corresponding error code:
-EBUSYβ when there is any request already being processed π-ETIMEDOUTβ when receiving reply is timed out π-EIOβ when received bytes are less than requested π
π¦ SEE ALSO π¦
Kernel file: ./drivers/gpu/drm/xlnx/zynqmp_dp.c
The whole bestie reference list:
struct zynqmp_dp_link_config(9)struct zynqmp_dp_mode(9)struct zynqmp_dp_config(9)enum test_pattern(9)struct zynqmp_dp_test(9)struct zynqmp_dp_train_set_priv(9)struct zynqmp_dp(9)zynqmp_dp_phy_init(9)zynqmp_dp_phy_exit(9)zynqmp_dp_phy_probe(9)zynqmp_dp_phy_ready(9)zynqmp_dp_max_rate(9)zynqmp_dp_mode_configure(9)zynqmp_dp_adjust_train(9)zynqmp_dp_update_vs_emph(9)zynqmp_dp_link_train_cr(9)zynqmp_dp_link_train_ce(9)zynqmp_dp_setup(9)zynqmp_dp_train(9)zynqmp_dp_train_loop(9)zynqmp_dp_aux_init(9)zynqmp_dp_aux_cleanup(9)zynqmp_dp_update_misc(9)zynqmp_dp_set_format(9)zynqmp_dp_encoder_mode_set_transfer_unit(9)zynqmp_dp_encoder_mode_set_stream(9)zynqmp_dp_disp_connected_live_layer(9)zynqmp_dp_set_test_pattern(9)zynqmp_dp_enable_vblank(9)zynqmp_dp_disable_vblank(9)
Cute little sign-off: source/version ./drivers/gpu/drm/xlnx, dated October 2026, for zynqmp_dp_aux_cmd_submit(9) ππ§ββοΈβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms