From: Zhenyu Wang Subject: Re: [PATCH] drm: fix regression in fb blank handling Date: Wed, 20 Jan 2010 10:54:49 +0800 Message-ID: <20100120025449.GA11678@zhen-devel.sh.intel.com> References: <1263804424-18350-1-git-send-email-zhenyuw@linux.intel.com> <20100119010141.GA9514@zhen-devel.sh.intel.com> Reply-To: Zhenyu Wang Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4347630160624763360==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: James Simmons Cc: airlied@redhat.com, dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org --===============4347630160624763360== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010.01.19 16:17:56 +0000, James Simmons wrote: > Sorry I meant the backlight power management state seperate from the=20 > encoder state. > =20 > > drm_fb_helper_off() will find fb's crtc and attached encoders, then > > call encoder_funcs->dpms() and turn off crtc, so for your DRM_MODE_DPMS= _ON > > change, it will actually turn encoder on, but what we need for > > FB_BLANK_NORMAL is to turn off the display. No? >=20 > FB_BLANK_NORMAL is not a full power down. Only CRTC is powerdown in this= =20 > mode. So how the encoder could tell the meaning of you passed DRM_MODE_DPMS_ON in this case? which is really turning on everything, or keep port on but turn off panel power? > FB_BLANK_POWERDOWN turns off everything. You are wondering why this=20 > is the case. If the console blanks and you go to use it again it comes=20 > back very fast. In FB_BLANK_POWERDOWN mode it takes awhile to come back= =20 > for certain types of displays. I have a old Sony CRT at home. Once powere= d=20 > down it takes about 5 to 10 seconds to come back up. Isn't this monitor specific issue instead of display device problem? ;) I don't think any LCD monitor nowadays could have this issue. >=20 > Besides this the real issue is backlight !=3D part of encoder.=20 >=20 > A patch will be coming shortly. Panel power sequencing for Intel LVDS is controlled by encoder, and closely related to port state, although we haven't really taken LVDS port enable/di= sable step before Ironlake, I think this is normal case for encoders having backl= ight.=20 Could we just restore back to origin behavior for fixing this in 2.6.33? Otherwise I don't know if your patch would be too intrusive... --=20 Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAktWcHkACgkQsQQaM014GCch+QCfcCysZcbNFOtSL08u8bdHbogh PcsAn2jvorrf1gVEUotGPqPsS+bTVRYS =SJY4 -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- --===============4347630160624763360== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --===============4347630160624763360== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel --===============4347630160624763360==--