STRUCT DRM_PANEL(9)
β¨ 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 toenable, and to turn off backlight before the call todisable.backlightis set bydrm_panel_of_backlightordrm_panel_dp_aux_backlightand 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 aDRM_MODE_CONNECTOR_*value. This is used to initialise thedrm_connectorcorresponding to the panel with the correct connector type. π₯listβ Panel entry in registry. πfollowersβ A list ofstruct drm_panel_followerdependent on this panel. πfollower_lockβ Lock forfollowerslist. π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 toLP-11before 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 thisstruct 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
- 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