0006-lenovo-x60-Enable-brightness-controls-native-graphic.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 30b0666a7d2b0d8265433cb308ed1bbbabd10674 Mon Sep 17 00:00:00 2001
  2. From: Francis Rowe <info@gluglug.org.uk>
  3. Date: Sat, 11 Oct 2014 16:43:28 +0100
  4. Subject: [PATCH 06/17] lenovo/x60: 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: Id855c4e91fe71fb489739e62fbe99ca22841acd2
  14. Signed-off-by: Francis Rowe <info@gluglug.org.uk>
  15. ---
  16. src/mainboard/lenovo/x60/devicetree.cb | 2 +-
  17. 1 file changed, 1 insertion(+), 1 deletion(-)
  18. diff --git a/src/mainboard/lenovo/x60/devicetree.cb b/src/mainboard/lenovo/x60/devicetree.cb
  19. index a3d31a6..9c3c524 100644
  20. --- a/src/mainboard/lenovo/x60/devicetree.cb
  21. +++ b/src/mainboard/lenovo/x60/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" = "0"
  26. - register "gpu_backlight" = "0x1280128"
  27. + register "gpu_backlight" = "0x879F879E"
  28. device cpu_cluster 0 on
  29. chip cpu/intel/socket_mFCPGA478
  30. --
  31. 1.9.1