From: Jesse Barnes Subject: Re: [PATCH 33/58] drm/i915: rip out intel_dp->dpms_mode Date: Wed, 5 Sep 2012 09:28:37 -0700 Message-ID: <20120905092837.76c70c56@jbarnes-desktop> References: <1345403595-9678-1-git-send-email-daniel.vetter@ffwll.ch> <1345403595-9678-34-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 oproxy9.bluehost.com (oproxy9.bluehost.com [69.89.24.6]) by gabe.freedesktop.org (Postfix) with SMTP id 9A9CC9E7FB for ; Wed, 5 Sep 2012 09:28:37 -0700 (PDT) In-Reply-To: <1345403595-9678-34-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: Daniel Vetter Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Sun, 19 Aug 2012 21:12:50 +0200 Daniel Vetter wrote: > We now track the connector state in encoder->connectors_active, and > because the DP output can't be cloned, that is sufficient to track the > link state. Hence use this instead of adding yet another modeset state > variable with dubious semantics at driver load and resume time. > > Also, connectors_active should only ever be set when the encoder is > linked to a crtc, hence convert that crtc test into a WARN. > > v2: Rebase on top of struct intel_dp moving. > > v3: The rebase accidentally killed the newly-introduced intel_dp->port > Noticed by Paulo Zanoni. Yay2! Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center