zynqmp_disp...ayer_set_csc(9)
π zynqmp_disp_blend_layer_set_csc(9) β the Kernel API Manual edit π
okay bestie, so this is a page straight out of the Kernel API Manual (section 9, kernel functions, iykyk), and it's all about one very specific little function. pull up a chair π
β¨ NAME β¨
zynqmp_disp_blend_layer_set_csc β literally just here to configure the colorspace conversion for a layer π
π¦ SYNOPSIS π¦
void zynqmp_disp_blend_layer_set_csc (struct zynqmp_disp *disp , struct
zynqmp_disp_layer *layer , const u16 *coeffs , const u32 *offsets );
no return value, she's void, she just does the thing and leaves π
π ARGUMENTS π
dispβ the display controller, the main character πlayerβ the layer we're messing with π§coeffsβ the colorspace conversion matrix, all the numbers πoffsetsβ the colorspace conversion offsets, also numbers β¨
πΈ DESCRIPTION πΈ
so the whole vibe here is: you call this and it configures the input colorspace conversion matrix and offsets for the layer. that's it, that's the job π«Ά
and the iconic part? the columns of the matrix get automatically swapped based on the input format, so it can handle RGB and YCrCb component permutations without you having to lift a finger. the function literally handles the shuffle for you, no cap π₯
β SEE ALSO β
bestie, the whole friend group is here β go say hi:
- Kernel file
./drivers/gpu/drm/xlnx/zynqmp_disp.c - enum
zynqmp_dpsub_layer_mode(9) - struct
zynqmp_disp_format(9) - struct
zynqmp_disp_layer_dma(9) - struct
zynqmp_disp_layer_info(9) - struct
zynqmp_disp_layer(9) - struct
zynqmp_disp(9) zynqmp_disp_avbuf_set_format(9)zynqmp_disp_avbuf_set_clocks_sources(9)zynqmp_disp_avbuf_enable_channels(9)zynqmp_disp_avbuf_disable_channels(9)zynqmp_disp_avbuf_enable_audio(9)zynqmp_disp_avbuf_disable_audio(9)zynqmp_disp_avbuf_enable_video(9)zynqmp_disp_avbuf_disable_video(9)zynqmp_disp_avbuf_enable(9)zynqmp_disp_avbuf_disable(9)zynqmp_disp_blend_set_output_format(9)zynqmp_disp_blend_set_bg_color(9)zynqmp_disp_blend_set_global_alpha(9)zynqmp_disp_blend_layer_enable(9)zynqmp_disp_blend_layer_disable(9)zynqmp_disp_layer_find_format(9)zynqmp_disp_layer_find_live_format(9)zynqmp_disp_layer_drm_formats(9)zynqmp_disp_live_layer_formats(9)zynqmp_disp_layer_enable(9)zynqmp_disp_layer_disable(9)zynqmp_disp_layer_set_format(9)zynqmp_disp_layer_set_live_format(9)zynqmp_disp_layer_update(9)zynqmp_disp_layer_release_dma(9)zynqmp_disp_destroy_layers(9)zynqmp_disp_layer_request_dma(9)zynqmp_disp_create_layers(9)zynqmp_disp_enable(9)zynqmp_disp_disable(9)zynqmp_disp_setup_clock(9)
and that's the whole page, bestie π she lives in ./drivers/gpu/drm/xlnx, dated October 2026, and honestly? iconic. periodt π
β¨
π¦ 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