STRUCT DC_CURSOR_POSITION(9)
π±οΈ NAME π±οΈ
okay so bestie, welcome to the Kernel API Manual page for struct dc_cursor_position(9) β it's literally the hardware cursor data struct, and we're gonna get into every single field. π
struct dc_cursor_position β Hardware cursor data.
β¨ SYNOPSIS β¨
struct dc_cursor_position {
uint32_t x;
uint32_t y;
uint32_t x_hotspot;
uint32_t y_hotspot;
bool enable;
bool translate_by_source;
bool use_viewport_for_clip;
};
π±οΈ Members π±οΈ
xβ this is the top left abscissa coordinate of the cursor, no cap.yβ this is the top ordinate of the cursor coordinate. yes bestie, coordinate math is giving geometry class.x_hotspotβ defines the abscissa point where the mouse click happens. that's the lil click spot, iconic.y_hotspotβ defines the ordinate point where the mouse click happens. same vibe, vertical edition.enableβ this parameter indicates whether the hardware cursor should be enabled. basically the on/off switch energy.translate_by_sourceβ translate cursorx/yby the source rectangle for each plane.use_viewport_for_clipβ use viewport position forclip_xcalculation instead ofclip_rect. required to protect against clip being overwritten. periodt, protect the clip.
π Description π
This struct keeps the action information related to the cursor that will be sent and received from our DC core. it's the lil cursor-action package, and DC core is the main character handling it. π«Ά
β¨ SEE ALSO β¨
- Kernel file
./drivers/gpu/drm/amd/display/dc/dc_hw_types.h enum dc_cursor_color_format(9)struct dc_crtc_timing(9)
this page came from ./drivers/gpu/drm/amd/display/dc, dated October 2026, and the whole vibe is struct dc_cursor_position(9) β bye bestie, go make that cursor slay π
β¨
π¦ 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