[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-commits
Subject:    [haiku-commits] haiku: hrev51185 - src/add-ons/accelerants/intel_extreme
From:       pulkomandy () pulkomandy ! tk
Date:       2017-05-28 15:56:07
Message-ID: 20170528155608.551705C2175 () vmrepo ! haiku-os ! org
[Download RAW message or body]

hrev51185 adds 1 changeset to branch 'master'
old head: 17286dc70a81d1aa8d853a73db0b0ebe79e6ed9a
new head: e8ded73c85db5dff1ed9ee547f5d44b98049a53d
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=e8ded73c85db+%5E17286dc70a81

----------------------------------------------------------------------------

e8ded73c85db: Restore PLL limits for old 85x devices.
  
  These went lost in driver refactoring, and the limits for 9xx were used
  instead.
  
  Should help with #13535.

                             [ Adrien Destugues <pulkomandy@pulkomandy.tk> ]

----------------------------------------------------------------------------

Revision:    hrev51185
Commit:      e8ded73c85db5dff1ed9ee547f5d44b98049a53d
URL:         http://cgit.haiku-os.org/haiku/commit/?id=e8ded73c85db
Author:      Adrien Destugues <pulkomandy@pulkomandy.tk>
Date:        Sun May 28 15:54:48 2017 UTC

Ticket:      https://dev.haiku-os.org/ticket/13535

----------------------------------------------------------------------------

1 file changed, 3 insertions(+), 3 deletions(-)
src/add-ons/accelerants/intel_extreme/pll.cpp | 6 +++---

----------------------------------------------------------------------------

diff --git a/src/add-ons/accelerants/intel_extreme/pll.cpp \
b/src/add-ons/accelerants/intel_extreme/pll.cpp index ff80495..1b0026e 100644
--- a/src/add-ons/accelerants/intel_extreme/pll.cpp
+++ b/src/add-ons/accelerants/intel_extreme/pll.cpp
@@ -178,14 +178,12 @@ static pll_limits kLimitsPinLvds = {
 	112000, 1700000, 3500000
 };
 
-#if 0
-static pll_limits kLimits = {
+static pll_limits kLimits85x = {
 	// p, p1, p2,  n,   m, m1, m2
 	{  4,  2,  4,  5,  96, 20,  8},
 	{128, 33,  2, 18, 140, 28, 18},
 	165000, 930000, 1400000
 };
-#endif
 
 
 static bool
@@ -380,6 +378,8 @@ compute_dpll_9xx(display_mode* current, pll_divisors* divisors, \
bool isLVDS)  memcpy(&limits, &kLimitsPinLvds, sizeof(pll_limits));
 		else
 			memcpy(&limits, &kLimitsPinSdvo, sizeof(pll_limits));
+	} else if (gInfo->shared_info->device_type.InGroup(INTEL_GROUP_85x)) {
+		memcpy(&limits, &kLimits85x, sizeof(pll_limits));
 	} else {
 		if (isLVDS)
 			memcpy(&limits, &kLimits9xxLvds, sizeof(pll_limits));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic