xe_lrc_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_lrc_put(9) ✨

okay so bestie, welcome to the Kernel API Manual (section 9, we're fancy like that) πŸ’… this one's a tiny little function page and honestly? it's giving "short but crucial." let's get into it 🫢


🌸 NAME 🌸

xe_lrc_put β€” the one that puts a reference of the LRC. that's it, that's the vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void xe_lrc_put (struct xe_lrc *lrc );

like, that's the whole signature. no hidden extras, no sneaky surprise params. iconic of her honestly ⭐


πŸŽ€ ARGUMENTS πŸŽ€

  • lrc β€” the Logical Ring Context. yes queen, that's the thing you're passing in πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

so what does it actually do? bestie, it decrements the reference count of lrc β€” and when that reference count hits 0, it calls xe_lrc_destroy. no cap, that's the whole plot 😭

like, that's a big deal lowkey. you're letting go of your reference, and the moment nobody's holding on anymore, xe_lrc_destroy gets the call. so don't be out here acting like this is a no-op β€” it's the responsible-adult move of reference counting 🧚

ok real talk: this decrements the count and can trigger xe_lrc_destroy at 0. just be aware you're handing over that reference when you call it, bestie πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, they're the supporting cast and they ate 🌈


with love from the kernel file <code>./drivers/gpu/drm/xe</code>, dated <b>October 2026</b> β€” this has been <code>xe_lrc_put(9)</code>, mwah πŸ’‹

πŸ“¦ where this page comes from