STRUCT HOST1X_BO_CACHE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct host1x_bo_cache(9) ✨

okay bestie, welcome to the Kernel API Manual entry for struct host1x_bo_cache β€” it’s giving buffer object cache realness and I’m obsessed. Let’s get into it πŸ’…


πŸ’– NAME πŸ’–

struct host1x_bo_cache β€” host1x buffer object cache πŸŽ€


✨ SYNOPSIS ✨

struct host1x_bo_cache {
    struct list_head mappings;
    struct mutex lock;
 };

🫢 Members 🫢

  • mappings β€” list of mappings. literally the list, bestie πŸ’–
  • lock β€” synchronizes accesses to the list of mappings πŸ”

πŸ’… Description πŸ’…

Note that entries are not periodically evicted from this cache and instead need to be explicitly released. No passive cleanup era, sorry β€” you gotta let them go on purpose 😭

This is used primarily for DRM/KMS where the cache’s reference is released when the last reference to a buffer object represented by a mapping in this cache is dropped. periodt πŸ¦‹


πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./include/linux/host1x.h
  • struct host1x_client_ops(9)
  • struct host1x_client(9)
  • struct host1x_bo_ops(9)
  • struct host1x_driver(9)

xoxo, your kernel bestie πŸ’– β€” source/version: ./include/linux; date: October 2026; page: struct host1x_bo_cache(9) 🌸

πŸ“¦ where this page comes from