]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm: panel-backlight-quirks: Log applied panel brightness quirks
authorAntheas Kapenekakis <lkml@antheas.dev>
Fri, 29 Aug 2025 14:55:41 +0000 (16:55 +0200)
committerMario Limonciello (AMD) <superm1@kernel.org>
Wed, 3 Sep 2025 15:23:04 +0000 (10:23 -0500)
commita3ae3384be7704fcf41279f13190bd8a11204bea
tree68969edc3b4e6f10d5aa0210827cd98f83178556
parentbf0365b005d9a486d2ddf0c8ec0a578d0f3aabed
drm: panel-backlight-quirks: Log applied panel brightness quirks

Currently, when a panel brightness quirk is applied, there is no log
indicating that a quirk was applied. Unwrap the drm device on its own
and use drm_info() to log when a quirk is applied.

Suggested-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://lore.kernel.org/r/20250829145541.512671-7-lkml@antheas.dev
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
(Correct a missing -1 in the message math)
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c