0007-lenovo-t60-Enable-native-intel-gfx-init.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From 64106428f6739ed87392f59993f3e0f1a3f045c8 Mon Sep 17 00:00:00 2001
  2. From: Vladimir Serbinenko <phcoder@gmail.com>
  3. Date: Tue, 4 Mar 2014 18:08:26 +0100
  4. Subject: [PATCH 07/17] lenovo/t60: Enable native intel gfx init.
  5. Tested on T60 with intel graphics.
  6. Change-Id: Id74d0a1315749052e7313135242e6b64862aa5e1
  7. Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
  8. ---
  9. src/mainboard/lenovo/t60/Kconfig | 3 +++
  10. src/mainboard/lenovo/t60/devicetree.cb | 5 +++++
  11. 2 files changed, 8 insertions(+)
  12. diff --git a/src/mainboard/lenovo/t60/Kconfig b/src/mainboard/lenovo/t60/Kconfig
  13. index 0cf19a1..2254185 100644
  14. --- a/src/mainboard/lenovo/t60/Kconfig
  15. +++ b/src/mainboard/lenovo/t60/Kconfig
  16. @@ -20,8 +20,11 @@ config BOARD_SPECIFIC_OPTIONS # dummy
  17. select CHANNEL_XOR_RANDOMIZATION
  18. select HAVE_ACPI_TABLES
  19. select HAVE_ACPI_RESUME
  20. + select MAINBOARD_HAS_NATIVE_VGA_INIT
  21. select H8_DOCK_EARLY_INIT
  22. select HAVE_CMOS_DEFAULT
  23. + select INTEL_EDID
  24. +
  25. config MAINBOARD_DIR
  26. string
  27. default lenovo/t60
  28. diff --git a/src/mainboard/lenovo/t60/devicetree.cb b/src/mainboard/lenovo/t60/devicetree.cb
  29. index 719fa9a..fdced26 100644
  30. --- a/src/mainboard/lenovo/t60/devicetree.cb
  31. +++ b/src/mainboard/lenovo/t60/devicetree.cb
  32. @@ -24,6 +24,11 @@ chip northbridge/intel/i945
  33. register "gfx.ndid" = "3"
  34. register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
  35. + register "gpu_hotplug" = "0x00000220"
  36. + register "gpu_lvds_use_spread_spectrum_clock" = "1"
  37. + register "gpu_lvds_is_dual_channel" = "1"
  38. + register "gpu_backlight" = "0x1280128"
  39. +
  40. device cpu_cluster 0 on
  41. chip cpu/intel/socket_mFCPGA478
  42. device lapic 0 on end
  43. --
  44. 1.9.1