0009-lenovo-t60-Enable-brightness-controls-native-graphic.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From e226918085e01a51916357b4c8d667e31e040fe4 Mon Sep 17 00:00:00 2001
  2. From: Francis Rowe <info@gluglug.org.uk>
  3. Date: Mon, 15 Jun 2015 19:59:46 +0100
  4. Subject: [PATCH 09/17] lenovo/t60: Enable brightness controls (native
  5. graphics)
  6. This makes the Fn Home/End keys work for controlling the
  7. brightness of the display. Value obtained by reading
  8. BLC_PWM_CTL when running the VBIOS (option ROM).
  9. On i945 legacy brightness control is enabled by a single
  10. bit in BLC_PWM_CTL. It's bit 16 or bit 0 (the other one
  11. reverses polarity). Set the bit to enable brightness
  12. controls.
  13. Change-Id: I22e261f2ce28ec81cd208a73e6311ec67146eb72
  14. Signed-off-by: Francis Rowe <info@gluglug.org.uk>
  15. ---
  16. src/mainboard/lenovo/t60/devicetree.cb | 2 +-
  17. 1 file changed, 1 insertion(+), 1 deletion(-)
  18. diff --git a/src/mainboard/lenovo/t60/devicetree.cb b/src/mainboard/lenovo/t60/devicetree.cb
  19. index fdced26..5f90a73 100644
  20. --- a/src/mainboard/lenovo/t60/devicetree.cb
  21. +++ b/src/mainboard/lenovo/t60/devicetree.cb
  22. @@ -27,7 +27,7 @@ chip northbridge/intel/i945
  23. register "gpu_hotplug" = "0x00000220"
  24. register "gpu_lvds_use_spread_spectrum_clock" = "1"
  25. register "gpu_lvds_is_dual_channel" = "1"
  26. - register "gpu_backlight" = "0x1280128"
  27. + register "gpu_backlight" = "0x58BF58BE"
  28. device cpu_cluster 0 on
  29. chip cpu/intel/socket_mFCPGA478
  30. --
  31. 1.9.1