From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915/dvo-ch7xxx: fix get_hw_state Date: Thu, 11 Oct 2012 18:47:04 +0200 Message-ID: <20121011164704.GA32660@phenom.ffwll.local> References: <1349973832-14354-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id F0DCF9EF53 for ; Thu, 11 Oct 2012 09:46:19 -0700 (PDT) Received: by mail-wg0-f43.google.com with SMTP id dq11so1325365wgb.12 for ; Thu, 11 Oct 2012 09:46:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1349973832-14354-1-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org On Thu, Oct 11, 2012 at 06:43:52PM +0200, Daniel Vetter wrote: > The boot-up state seems to be all-zeros, so it's safer to check for > the bits that need to be set when the dvo encoder is in the dpms on > state, than checking the bits we set when it's in the off state. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55047 > Tested-by: Chris Wilson > Signed-off-by: Daniel Vetter ... and merged right away to -fixes. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch