intel_link_b...mit_for_pipe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 on
  • old_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 🧚

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