fixed error in paneldetection code on laptops... oops!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7190 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -380,7 +380,7 @@ static void detect_panels()
|
|||||||
//we are assuming that no DVI is used as external monitor on laptops;
|
//we are assuming that no DVI is used as external monitor on laptops;
|
||||||
//otherwise we probably get into trouble here if the checked specs match.
|
//otherwise we probably get into trouble here if the checked specs match.
|
||||||
if (si->ps.laptop && si->ps.tmds1_active && si->ps.tmds2_active &&
|
if (si->ps.laptop && si->ps.tmds1_active && si->ps.tmds2_active &&
|
||||||
(DACR(FP_TG_CTRL) == DAC2R(FP_TG_CTRL)) &&
|
((DACR(FP_TG_CTRL) & 0x80000000) == (DAC2R(FP_TG_CTRL) & 0x80000000)) &&
|
||||||
(si->ps.panel1_width == si->ps.panel2_width) &&
|
(si->ps.panel1_width == si->ps.panel2_width) &&
|
||||||
(si->ps.panel1_height == si->ps.panel2_height))
|
(si->ps.panel1_height == si->ps.panel2_height))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user