r600_cs_common_vline_parse(9)
πΈ NAME
okay so r600_cs_common_vline_parse is the common vline parser π
β and yeah, that's literally the name section. this little page lives in the Kernel API Manual, and it's about one very specific kernel helper. bestie, we're going in. π«Ά
β¨ SYNOPSIS
int r600_cs_common_vline_parse (struct radeon_cs_parser *p , uint32_t
*vline_start_end , uint32_t *vline_status );
π ARGUMENTS
pβ parser structure holding parsing context. it's giving "i hold the context" main character energy.vline_start_endβ table ofvline_start_endregisters. the registers are right there, bestie.vline_statusβ table ofvline_statusregisters. status table, slay.
π DESCRIPTION
okay so userspace sends a special sequence for VLINE waits. the whole lil choreo is:
- PACKET0 -
VLINE_START_END+ value - PACKET3 -
WAIT_REG_MEMpoll vline status reg - RELOC (P3) -
crtc_idin reloc.
this function parses this and relocates the VLINE START END and WAIT_REG_MEM packets to the correct crtc. it also detects a switched off crtc and nulls out the wait in that case β yes, that's the dramatic part π. this function is common for all ASICs that are R600 and newer. the parsing algorithm is the same, and only differs in which registers are used.
the caller is the ASIC-specific function which passes the parser context and ASIC-specific register table π«Ά.
π₯ SEE ALSO
- Kernel file
./drivers/gpu/drm/radeon/r600_cs.c r600_cs_packet_parse_vline(9)r600_cs_check_reg(9)r600_check_texture_resource(9)r600_dma_cs_next_reloc(9)r600_dma_cs_parse(9)
k bye bestie π this page is from the Kernel API Manual, sourced from ./drivers/gpu/drm/radeon, dated October 2026, and the star is r600_cs_common_vline_parse(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