STRUCT MPC_COLOR_CAPS(9)
π struct mpc_color_caps(9) π
okay bestie, buckle up β this is a Kernel API Manual page and honestly? it's giving "behind the scenes of your screen's colors" energy. no cap.
πΈ NAME πΈ
struct mpc_color_caps β the color pipeline capabilities for multiple pipe and plane combined blocks β¨ (yes, that's a mouthful, we love her anyway)
π SYNOPSIS π
struct mpc_color_caps {
uint16_t gamut_remap : 1;
uint16_t ogam_ram : 1;
uint16_t ocsc : 1;
uint16_t num_3dluts : 3;
uint16_t num_rmcm_3dluts : 3;
uint16_t shared_3d_lut:1;
struct rom_curve_caps ogam_rom_caps;
struct lut3d_caps mcm_3d_lut_caps;
struct lut3d_caps rmcm_3d_lut_caps;
bool preblend;
struct fixed31_32 max_gamut_remap_coeff;
};
like, look at her. struct full of bitfields. main character energy fr fr π
π¦ DESCRIPTION (the members) π¦
so here's the vibe check on every single field, no skips, no shortcuts π
gamut_remapβ color transformation matrix. literally the matrix. iconicogam_ramβ programmable out gamma LUT π¨ocscβ output color space conversion matrixnum_3dlutsβ MPC 3D LUT; always assumes a preceding shaper LUT (do not forget the shaper LUT, bestie, it said always)num_rmcm_3dlutsβ number of RMCM 3D LUTS; also always assumes a preceding shaper LUT π«Άshared_3d_lutβ shared 3D LUT flag. lowkey important: it can be either DPP or MPC, but only a single instance. one. uno. πogam_rom_capsβ pre-definied curve caps for regamma 1D LUT (yes, "definied", we're quoting the source, don't come for me π)mcm_3d_lut_capsβ HW support cap for MCM LUT memory π§rmcm_3d_lut_capsβ HW support cap for RMCM LUT memorypreblendβ whether color manager supports preblend with MPC β¨
also in the struct but not in the members list:max_gamut_remap_coeff, astruct fixed31_32. she's there. she's just quiet. π
π SEE ALSO π
the whole friend group, in order, exactly as listed, don't @ me:
- Kernel file
./drivers/gpu/drm/amd/display/dc/dc.hβMAX_SURFACES(9) MAX_PLANES(9)color-management-caps(9)struct rom_curve_caps(9)struct dpp_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)
that's the whole page, bestie, you ate that π
sign-off time π«Ά: this little love letter lives at ./drivers/gpu/drm/amd/display/dc, dated October 2026, and it's part of the Kernel API Manual. go read the source, ily, bye πβ¨
π¦ 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