STRUCT DRM_PANEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to struct drm_panel(9) from the Kernel API Manual β€” literally the DRM panel object. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

       struct drm_panel {
           struct device *dev;
           struct backlight_device *backlight;
           const struct drm_panel_funcs *funcs;
           int connector_type;
           struct list_head list;
           struct list_head followers;
           struct mutex follower_lock;
           bool prepare_prev_first;
           bool prepared;
           bool enabled;
           void *container;
           struct kref refcount;
        };

πŸ’… Members πŸ’…

  • dev β€” Parent device of the panel. 🫢
  • backlight β€” Backlight device, used to turn on backlight after the call to enable, and to turn off backlight before the call to disable. backlight is set by drm_panel_of_backlight or drm_panel_dp_aux_backlight and drivers shall not assign it. no cap, do not assign it yourself πŸ™ˆ
  • funcs β€” Operations that can be performed on the panel. ✨
  • connector_type β€” Type of the panel as a DRM_MODE_CONNECTOR_* value. This is used to initialise the drm_connector corresponding to the panel with the correct connector type. πŸ”₯
  • list β€” Panel entry in registry. πŸŽ€
  • followers β€” A list of struct drm_panel_follower dependent on this panel. πŸ‘‘
  • follower_lock β€” Lock for followers list. πŸ”’
  • prepare_prev_first β€” The previous controller should be prepared first, before the prepare for the panel is called. This is largely required for DSI panels where the DSI host controller should be initialised to LP-11 before the panel is powered up. ⚑
  • prepared β€” If true then the panel has been prepared. βœ…
  • enabled β€” If true then the panel has been enabled. 🌈
  • container β€” Pointer to the private driver struct embedding this struct drm_panel. 🧚
  • refcount β€” reference count of users referencing this panel. πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/drm/drm_panel.h struct drm_panel_funcs(9), devm_drm_panel_alloc(9) β€” go read those next, bestie. πŸ’œ


mwah πŸ’‹ β€” source/version ./include/drm, date October 2026, page struct drm_panel(9). that’s the whole page, no cap 🫢✨

πŸ“¦ where this page comes from