ENUM MTK_HDMI_DDC_V2_CMDS(9)
π enum mtk_hdmi_ddc_v2_cmds(9) π
okay bestie, welcome to the Kernel API Manual β yes that's the manual name, and yes this page is a whole ~serve~. we're talking about a little enum that holds all the DDC_CMD register commands for the MediaTek HDMI DDC v2 situation. it's giving "small header file, big responsibilities" and honestly? obsessed. π
β¨ NAME β¨
enum mtk_hdmi_ddc_v2_cmds β the DDC_CMD register commands, all lined up like they're waiting for the group photo πΈ
π¦ SYNOPSIS π¦
enum mtk_hdmi_ddc_v2_cmds {
DDC_CMD_READ_NOACK ,
DDC_CMD_READ ,
DDC_CMD_SEQ_READ_NOACK ,
DDC_CMD_SEQ_READ ,
DDC_CMD_ENH_READ_NOACK ,
DDC_CMD_ENH_READ ,
DDC_CMD_SEQ_WRITE_NOACK ,
DDC_CMD_SEQ_WRITE ,
DDC_CMD_CLEAR_FIFO ,
DDC_CMD_CLOCK_SCL ,
DDC_CMD_ABORT_XFER
};
like. look at that list. eleven constants, zero filler, all main character energy π
π Constants π
okay so here's the roll call, and yes i'm gonna introduce each one because they all deserve it π«Ά
DDC_CMD_READ_NOACKβ current address read, but with no ACK on the last byte. she simply does not acknowledge. πDDC_CMD_READβ current address read, and this one does ACK on the last byte. polite. well-mannered. we love her. β¨DDC_CMD_SEQ_READ_NOACKβ sequential read, going full no-ACK on the last byte πDDC_CMD_SEQ_READβ sequential read, ACK on the last byte, thriving, hydrated π§DDC_CMD_ENH_READ_NOACKβ enhanced read, no ACK on the last byte. enhanced in what way? the manpage doesn't say and honestly i respect the mystery πDDC_CMD_ENH_READβ enhanced read, ACK on the last byte, a true icon π₯DDC_CMD_SEQ_WRITE_NOACKβ sequential write that straight-up ignores the ACK on the last byte. bold. reckless? maybe. iconic? absolutely. πDDC_CMD_SEQ_WRITEβ sequential write that requires an ACK on the last byte. she has standards. periodt. πDDC_CMD_CLEAR_FIFOβ clears the DDC I2C FIFO. fresh start, clean slate, new me energy π§ΉDDC_CMD_CLOCK_SCLβ starts clocking the DDC I2C SCL. get it moving, get it going β°DDC_CMD_ABORT_XFERβ aborts the DDC I2C transaction. we're done here. bye bestie π
πΈ SEE ALSO πΈ
- the kernel file
./drivers/gpu/drm/mediatek/mtk_hdmi_regs_v2.hβ that's where the real lore lives, go read it iykyk π
quick vibe check: every command up there is exactly what it says on the tin, no embellishment, no cap β if you need the actual register behaviour, the header is the source of truth, not me π
that's the whole page bestie!! this one came from ./drivers/gpu/drm/mediatek and the date on it is October 2026, so yeah β future-coded documentation, we love to see it π¦β¨ mwah, go forth and DDC π
π¦ 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