aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorYao Zi <[email protected]>2025-06-05 12:34:46 +0000
committerHuacai Chen <[email protected]>2025-06-07 03:37:15 +0000
commit53c762b47f726e4079a1f06f684bce2fc0d56fba (patch)
tree6567870e865633449a0b4861b75ccd7575f2c49a /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentplatform/loongarch: laptop: Get brightness setting from EC on probe (diff)
downloadkernel-53c762b47f726e4079a1f06f684bce2fc0d56fba.tar.gz
kernel-53c762b47f726e4079a1f06f684bce2fc0d56fba.zip
platform/loongarch: laptop: Add backlight power control support
loongson_laptop_turn_{on,off}_backlight() are designed for controlling the power of the backlight, but they aren't really used in the driver previously. Unify these two functions since they only differ in arguments passed to ACPI method, and wire up loongson_laptop_backlight_update() to update the power state of the backlight as well. Tested on the TongFang L860-T2 Loongson-3A5000 laptop. Cc: [email protected] Fixes: 6246ed09111f ("LoongArch: Add ACPI-based generic laptop driver") Signed-off-by: Yao Zi <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions