dpu_rm_reserve(9)

📦 version 7.3.1, in nixpkgs unstable

💅 dpu_rm_reserve(9) ✨

okay so welcome to the dpu_rm_reserve(9) page from the Kernel API Manual, bestie — this is the lil function that analyzes a display chain and reserves hardware blocks for it. it's giving main character energy fr fr. 🫶

🌸 NAME 🌸

dpu_rm_reserve — Given a CRTC->Encoder->Connector display chain, analyze the use connections and user requirements, specified through related topology control properties, and reserve hardware blocks to that display chain. HW blocks can then be accessed through dpu_rm_get_* functions. HW Reservations should be released via dpu_rm_release_hw. 💖

✨ SYNOPSIS ✨

int dpu_rm_reserve (struct dpu_rm *rm , struct dpu_global_state
*global_state , struct drm_crtc *crtc , struct msm_display_topology
*topology );

🎀 ARGUMENTS 🎀

  • rm — DPU Resource Manager handle. the resource manager handle, literally.
  • global_state — resources shared across multiple kms objects. shared across kms objects, no cap.
  • crtc — DRM CRTC handle. iconic CRTC handle behavior.
  • topology — Pointer to topology info for the display. points at the topology info for the display.

🔥 RETURN 🔥

0 on Success otherwise -ERROR. so 0 means Success (capital S bestie), and anything else is -ERROR. 🫠

🦋 SEE ALSO 🦋

Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c is right here, plus the whole squad:

mwah 💋 — source/version: ./drivers/gpu/drm/msm/disp/dpu1; date: October 2026; page: dpu_rm_reserve(9). that's the footer folded in cute, not copied, periodt. 🌈

📦 where this page comes from