shutdown panel DPMS for laptops: I don't like the looks of that!. Confirmed DPMS working OK for all DVI panels though.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11406 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2005-02-17 16:51:35 +00:00
parent 0677ddf4a7
commit 29e629c82e
2 changed files with 4 additions and 4 deletions
@@ -493,7 +493,7 @@ status_t nv_crtc_dpms(bool display, bool h, bool v)
/* end synchronous reset because display should be enabled */
SEQW(RESET, 0x03);
if (si->ps.tmds1_active)
if (si->ps.tmds1_active && !si->ps.laptop)
{
/* restore original panelsync and panel-enable */
uint32 panelsync = 0x00000000;
@@ -523,7 +523,7 @@ status_t nv_crtc_dpms(bool display, bool h, bool v)
/* turn screen off */
SEQW(CLKMODE, (temp | 0x20));
if (si->ps.tmds1_active)
if (si->ps.tmds1_active && !si->ps.laptop)
{
/* shutoff panelsync and disable panel */
DACW(FP_TG_CTRL, ((DACR(FP_TG_CTRL) & 0xcfffffcc) | 0x20000022));
@@ -476,7 +476,7 @@ status_t nv_crtc2_dpms(bool display, bool h, bool v)
/* end synchronous reset because display should be enabled */
SEQW(RESET, 0x03);
if (si->ps.tmds2_active)
if (si->ps.tmds2_active && !si->ps.laptop)
{
/* restore original panelsync and panel-enable */
uint32 panelsync = 0x00000000;
@@ -506,7 +506,7 @@ status_t nv_crtc2_dpms(bool display, bool h, bool v)
/* turn screen off */
SEQW(CLKMODE, (temp | 0x20));
if (si->ps.tmds2_active)
if (si->ps.tmds2_active && !si->ps.laptop)
{
/* shutoff panelsync and disable panel */
DAC2W(FP_TG_CTRL, ((DAC2R(FP_TG_CTRL) & 0xcfffffcc) | 0x20000022));