intel_link_b...mit_for_pipe(9)
β¨ intel_link_bw_set_bpp_limit_for_pipe(9) β¨
okay so bestie, we're in the Kernel API Manual today and this one is a little gem from the i915 display crew π
it's a <cyan>bool</cyan>-returning function, it's about link bandwidth, and it's lowkey doing damage control after a compute config said "nope". let's get into it π«Ά
πΈ NAME πΈ
intel_link_bw_set_bpp_limit_for_pipe β set the link bpp limit for a pipe to its minimum, fr fr π
π SYNOPSIS π
bool intel_link_bw_set_bpp_limit_for_pipe (struct intel_atomic_state *state,
const struct intel_link_bw_limits *old_limits,
struct intel_link_bw_limits *new_limits,
enum pipe pipe );
π¦ ARGUMENTS π¦
stateβ the atomic state β that's the whole vibe we're operating onold_limitsβ link BW limits π (yes, the old ones, hold that thought)new_limitsβ link BW limits π₯ (the new ones, the ones we're editing)pipeβ pipe π literally just the pipe, that's the whole description, iconic
π DESCRIPTION π
so what this icon actually does: it sets the link bpp limit for pipe in new_limits to whatever that value was in old_limits, and then marks that limit as the minimum. periodt π
β οΈ important timing note bestie: you must call this function after a pipe's compute config function has failed, with old_limits holding the bpp limit that compute config previously passed with. like, that's the whole setup. no cap π
and she will fail if setting a minimum just isn't possible β either because:
- the old and new limits match (which, yeah, would lead to a pipe compute config failure π), or
- the limit is already at the minimum π«
Returns true in case of success π slay.
π§ SEE ALSO π§
- Kernel file
./drivers/gpu/drm/i915/display/intel_link_bw.cπ intel_link_bw_init_limits(9)__intel_link_bw_reduce_bpp(9)intel_link_bw_compute_pipe_bpp(9)intel_link_bw_atomic_check(9)
go read those too, iykyk π
and that's the page!! π brought to you by ./drivers/gpu/drm/i915/display, dated October 2026, and yeah the page title got chopped to intel_link_b...mit_for_pipe(9) in the header because the terminal said "no more room bestie" π anyway ily, go set some bpp limits β¨π¦π
π¦ 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