From 8b4bd60402a402cd3b451d11cd710c8d25c3acee Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Wed, 1 Jul 2026 12:00:04 -0500 Subject: [PATCH] drm/amdgpu/display: Add amdgpu_display.c documentation Add kernel-doc references for amdgpu_display.c to the display manager documentation. This pulls in documentation for display core functions like the hotplug work handler, and the adaptive backlight modulation property. The :internal: directive automatically includes all function documentation, while the explicit :doc: directive captures the property documentation that :internal: doesn't pull in. Fixes: 1454642960b0 ("drm/amd: Re-introduce property to control adaptive backlight modulation") Reviewed-by: Leo Li Link: https://patch.msgid.link/20260701170004.465737-1-mario.limonciello@amd.com Signed-off-by: Mario Limonciello Signed-off-by: Alex Deucher --- Documentation/gpu/amdgpu/display/display-manager.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/gpu/amdgpu/display/display-manager.rst b/Documentation/gpu/amdgpu/display/display-manager.rst index b269ff3f7a54..f6de9e7779e2 100644 --- a/Documentation/gpu/amdgpu/display/display-manager.rst +++ b/Documentation/gpu/amdgpu/display/display-manager.rst @@ -32,6 +32,9 @@ Interrupts .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c :functions: register_hpd_handlers dm_crtc_high_irq dm_pflip_high_irq +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_display.c + :functions: amdgpu_display_hotplug_work_func + Atomic Implementation ===================== @@ -178,3 +181,9 @@ following path: 2. On DC interface, :c:type:`struct mpcc_blnd_cfg ` programs the MPCC blend configuration considering the :c:type:`dc_plane_info ` input from DPP. + +Display Properties +================== + +.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_display.c + :doc: property for adaptive backlight modulation