From: Chris Wilson Subject: Re: [PATCH 14/15] drm/i915: Track frontbuffer invalidation/flushing Date: Tue, 17 Jun 2014 07:52:25 +0100 Message-ID: <20140617065225.GF17744@nuc-i3427.alporthouse.com> References: <1402941095-27879-1-git-send-email-daniel.vetter@ffwll.ch> <1402941095-27879-15-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 fireflyinternet.com (mail.fireflyinternet.com [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id 67F4A6E625 for ; Mon, 16 Jun 2014 23:52:42 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1402941095-27879-15-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Daniel Vetter Cc: Intel Graphics Development , Rodrigo Vivi List-Id: intel-gfx@lists.freedesktop.org On Mon, Jun 16, 2014 at 07:51:34PM +0200, Daniel Vetter wrote: > +static void intel_mark_fb_busy(struct drm_device *dev, > + unsigned frontbuffer_bits, > + struct intel_engine_cs *ring) > { > - struct drm_device *dev = obj->base.dev; > enum pipe pipe; > > - intel_edp_psr_exit(dev); > - > if (!i915.powersave) > return; I think this wants to be moved from here down to intel_increase_pllclock. It's a little dangerous here as we use it inconsistently, and we certainly want to keep tracking fb bits for other reasons. -Chris -- Chris Wilson, Intel Open Source Technology Centre