panel DPMS update: now works on NV28 and NV34, still not ready yet though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7333 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -449,7 +449,8 @@ status_t nv_crtc_dpms(bool display, bool h, bool v)
|
||||
* internal transmitters... */
|
||||
DACW(FP_DEBUG0, (DACR(FP_DEBUG0) & 0xcfffffff));
|
||||
/* ... and powerup external TMDS transmitter if it exists */
|
||||
CRTCW(LCD, (CRTCR(LCD) | 0x10));
|
||||
/* (confirmed OK on NV28 and NV34) */
|
||||
CRTCW(0x59, (CRTCR(0x59) | 0x01));
|
||||
}
|
||||
|
||||
LOG(4,("display on, "));
|
||||
@@ -464,7 +465,8 @@ status_t nv_crtc_dpms(bool display, bool h, bool v)
|
||||
* internal transmitters... */
|
||||
DACW(FP_DEBUG0, (DACR(FP_DEBUG0) | 0x30000000));
|
||||
/* ... and powerdown external TMDS transmitter if it exists */
|
||||
CRTCW(LCD, (CRTCR(LCD) & 0xef));
|
||||
/* (confirmed OK on NV28 and NV34) */
|
||||
CRTCW(0x59, (CRTCR(0x59) & 0xfe));
|
||||
}
|
||||
|
||||
LOG(4,("display off, "));
|
||||
|
||||
@@ -432,7 +432,8 @@ status_t nv_crtc2_dpms(bool display, bool h, bool v)
|
||||
* internal transmitters... */
|
||||
DAC2W(FP_DEBUG0, (DAC2R(FP_DEBUG0) & 0xcfffffff));
|
||||
/* ... and powerup external TMDS transmitter if it exists */
|
||||
CRTC2W(LCD, (CRTC2R(LCD) | 0x10));
|
||||
/* (confirmed OK on NV28 and NV34) */
|
||||
CRTC2W(0x59, (CRTC2R(0x59) | 0x01));
|
||||
}
|
||||
|
||||
LOG(4,("display on, "));
|
||||
@@ -447,7 +448,8 @@ status_t nv_crtc2_dpms(bool display, bool h, bool v)
|
||||
* internal transmitters... */
|
||||
DAC2W(FP_DEBUG0, (DAC2R(FP_DEBUG0) | 0x30000000));
|
||||
/* ... and powerdown external TMDS transmitter if it exists */
|
||||
CRTC2W(LCD, (CRTC2R(LCD) & 0xef));
|
||||
/* (confirmed OK on NV28 and NV34) */
|
||||
CRTC2W(0x59, (CRTC2R(0x59) & 0xfe));
|
||||
}
|
||||
|
||||
LOG(4,("display off, "));
|
||||
|
||||
Reference in New Issue
Block a user