panthor_gpu_flush_caches(9)
π panthor_gpu_flush_caches β like, the cache-flushing one β¨
Okay bestie, so this is a page straight out of the Kernel API Manual (yes, that manual), and it's all about panthor_gpu_flush_caches. Sounds intense? It's literally just "Flush caches." That's the whole NAME. Short, sweet, iconic. π
β¨ SYNOPSIS β¨
int panthor_gpu_flush_caches (struct panthor_device *ptdev , u32 l2 ,
u32 lsc , u32 other );
That's the whole call, no cap. Returns an int, takes four things. Let's get into them π
πΈ ARGUMENTS πΈ
ptdevβ your device. Device. The main character, honestly.l2β the L2 flush type. L2 flush type. Yeah, it's au32and it tells the L2 what kind of flush we're doing π«lscβ the LSC flush type. LSC flush type. Same deal, LSC edition.otherβ the "everything else" flush type. Other flush type. Cute lil catch-all, we love her π«Ά
β RETURN β
0 on success, and a negative error code otherwise. That's it, that's the whole vibe check β zero means slay, anything negative means something went sideways π
π¦ SEE ALSO π¦
Starting with the kernel file it lives in, bestie: ./drivers/gpu/drm/panthor/panthor_gpu.c, plus struct panthor_gpu(9) and the whole friend group π:
panthor_gpu(9)panthor_gpu_unplug(9)panthor_gpu_init(9)panthor_gpu_block_power_off(9)panthor_gpu_block_power_on(9)panthor_gpu_l2_power_on(9)panthor_gpu_soft_reset(9)panthor_gpu_suspend(9)panthor_gpu_resume(9)
All of them, no skips. Go read them, iykyk π
π§ Lowkey important: the synopsis, the argument types, and the return values are exactly as written up there. Copy them character for character and don't get creative β that's the one thing we don't improvise on π
Anyway, that's the page!! This one came from ./drivers/gpu/drm/panthor and it's dated October 2026, so likeβ¦ mark your calendars bestie ποΈβ¨ Mwah, love u, go flush those caches π
π¦ 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