STRUCT ROM_CURVE_CAPS(9)
π struct rom_curve_caps(9) π
okay so welcome to the struct rom_curve_caps(9) page, bestie β it's Kernel API Manual content but we're doing it with main-character energy. This struct is literally the predefined transfer function caps for degamma and regamma, and it is lowkey adorable because it's just a tiny pile of bitfields. π¦
β¨ NAME β¨
struct rom_curve_caps β predefined transfer function caps for degamma and regamma. periodt. π
π¦ SYNOPSIS π¦
It's giving tiny bitfield struct, no cap. Behold, exactly:
struct rom_curve_caps {
uint16_t srgb : 1;
uint16_t bt2020 : 1;
uint16_t gamma2_2 : 1;
uint16_t pq : 1;
uint16_t hlg : 1;
};
πΈ Members πΈ
srgbβ RGB color space transfer func.bt2020β BT.2020 transfer func.gamma2_2β standard gamma.pqβ perceptual quantizer transfer function.hlgβ hybrid logβgamma transfer function.
In the synopsis they're all uint16_t bitfields with : 1, so every member is literally one tiny bit of caps. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/gpu/drm/amd/display/dc/dc.h β and the whole squad is:
MAX_SURFACES(9)MAX_PLANES(9)color-management-caps(9)struct dpp_color_caps(9)struct mpc_color_caps(9)struct dc_color_caps(9)enum pipe_split_policy(9)dc_check_state_update(9)dc_update_state(9)dc_update_state_init(9)dc_update_state_prepare(9)dc_update_state_execute(9)dc_update_state_cleanup(9)struct dc_probe_latencies(9)struct dc_probe_status(9)enum dc_get_status_type(9)struct dc_get_status_options(9)struct dc_state_status(9)dc_state_get_status(9)struct dc_validation_stream(9)struct dc_validation_set(9)dc_get_underflow_debug_data_for_otg(9)dc_capture_register_software_state(9)dc_get_qos_info(9)dc_override_memory_bandwidth_request(9)
xoxo, your kernel bestie β source/version: ./drivers/gpu/drm/amd/display/dc, dated October 2026 ππ«Ά
π¦ 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