STRUCT ROCKCHIP_DP_CHIP_DATA(9)
π
struct rockchip_dp_chip_data π
okay bestie, welcome to the Kernel API Manual β yes, the actual Kernel API Manual, we're in the big leagues now π β and today's main character is struct rockchip_dp_chip_data. It's a little struct whose whole job is, and I quote, to splite the grf setting of kind of chips. That spelling is canon, we do not correct icons β¨
so like. different Rockchip chips have different grf settings, right? and instead of hardcoding a million branches everywhere, this struct just bundles up the relevant bits (literally) so the driver can pick the right ones per chip type. it's giving organized. it's giving responsible. we love a struct that knows itself π
β¨ NAME β¨
struct rockchip_dp_chip_data β the one that split(e)s the grf setting of kind of chips π§
π¦ SYNOPSIS π¦
struct rockchip_dp_chip_data {
const struct rockchip_grf_reg_field lcdc_sel;
const struct rockchip_grf_reg_field edp_mode;
u32 chip_type;
u32 reg;
};
that's the whole thing, no cap. four fields, zero drama, all business πΈ
π Members π
lcdc_selβ the grf register field forlcdc_sel, that's it, that's the field π«Άedp_modeβ the grf register field foredp_mode, same energy, different register π«chip_typeβ which specific chip type this entry is for, iykyk πregβ the register base address, the actual location, the address-address π₯
ngl the twoconst struct rockchip_grf_reg_fieldmembers are both markedconst, so don't come for them and try to reassign. they are who they are π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/rockchip/analogix_dp-rockchip.cβ that's where this whole vibe lives, go read it, it's literally right there π¦
and that's the page, bestie!! no further reading required, you ate this π stay slay, stay compiled π
sign-off szn: this icon dropped from ./drivers/gpu/drm/rockchip back in October 2026, and it's still serving struct rockc...dp_chip_data(9) realness β¨ ily, go touch some registers π
π¦ 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