From: Daniel Vetter Subject: Re: [PATCH] drm/i915/bdw: Add BDW support in the i915 debugfs entry Date: Wed, 27 Aug 2014 08:17:56 +0200 Message-ID: <20140827061756.GM15520@phenom.ffwll.local> References: <1409074971-2761-1-git-send-email-vedang.patel@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) by gabe.freedesktop.org (Postfix) with ESMTP id B9E3E6E2D9 for ; Tue, 26 Aug 2014 23:17:33 -0700 (PDT) Received: by mail-we0-f179.google.com with SMTP id u57so15468897wes.24 for ; Tue, 26 Aug 2014 23:17:32 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1409074971-2761-1-git-send-email-vedang.patel@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: vedang.patel@intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Aug 26, 2014 at 10:42:51AM -0700, vedang.patel@intel.com wrote: > From: Vedang Patel > > The patch introduces fixes for the debugfs attributes emitted by > the i915 driver for GEN8. Currently, it is not emitting the correct > attributes which include the status of RC6 states. > > Change-Id: Ib2068a0cac9a5wq3f228e547fa1a097ad369d242df > Signed-off-by: Vedang Patel Queued for -next, thanks for the patch. -Daniel > --- > drivers/gpu/drm/i915/i915_debugfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c > index 850fa59..c712566 100644 > --- a/drivers/gpu/drm/i915/i915_debugfs.c > +++ b/drivers/gpu/drm/i915/i915_debugfs.c > @@ -1329,7 +1329,7 @@ static int i915_drpc_info(struct seq_file *m, void *unused) > > if (IS_VALLEYVIEW(dev)) > return vlv_drpc_info(m); > - else if (IS_GEN6(dev) || IS_GEN7(dev)) > + else if (INTEL_INFO(dev)->gen >= 6) > return gen6_drpc_info(m); > else > return ironlake_drpc_info(m); > -- > 1.7.9.5 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch