From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodrigo Vivi Subject: Re: [PATCH 27/89] drm/i915/skl: SKL shares the same underrun interrupt as BDW Date: Tue, 16 Sep 2014 18:39:34 -0700 Message-ID: References: <1409830075-11139-1-git-send-email-damien.lespiau@intel.com> <1409830075-11139-28-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1117338724==" Return-path: Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by gabe.freedesktop.org (Postfix) with ESMTP id 0AB1D6E0FB for ; Tue, 16 Sep 2014 18:39:34 -0700 (PDT) Received: by mail-we0-f181.google.com with SMTP id w62so654950wes.26 for ; Tue, 16 Sep 2014 18:39:34 -0700 (PDT) In-Reply-To: <1409830075-11139-28-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Damien Lespiau Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org --===============1117338724== Content-Type: multipart/alternative; boundary=089e01228f16a69fc1050338f0d6 --089e01228f16a69fc1050338f0d6 Content-Type: text/plain; charset=UTF-8 the rest of DE_PIPE_INTERRUPT definition is different from BDW to SKL but the underrun is indeed the same! Reviewed-by: Rodrigo Vivi On Thu, Sep 4, 2014 at 4:26 AM, Damien Lespiau wrote: > Signed-off-by: Damien Lespiau > --- > drivers/gpu/drm/i915/i915_irq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/i915_irq.c > b/drivers/gpu/drm/i915/i915_irq.c > index e9979f5..c62a2e4 100644 > --- a/drivers/gpu/drm/i915/i915_irq.c > +++ b/drivers/gpu/drm/i915/i915_irq.c > @@ -503,7 +503,7 @@ static bool > __intel_set_cpu_fifo_underrun_reporting(struct drm_device *dev, > ironlake_set_fifo_underrun_reporting(dev, pipe, enable); > else if (IS_GEN7(dev)) > ivybridge_set_fifo_underrun_reporting(dev, pipe, enable, > old); > - else if (IS_GEN8(dev)) > + else if (IS_GEN8(dev) || IS_GEN9(dev)) > broadwell_set_fifo_underrun_reporting(dev, pipe, enable); > > return old; > -- > 1.8.3.1 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx > -- Rodrigo Vivi Blog: http://blog.vivi.eng.br --089e01228f16a69fc1050338f0d6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
the rest of DE_PIPE_INTERRUPT definition is different from= BDW to SKL but the underrun is indeed the same!

Reviewe= d-by: Rodrigo Vivi <rodrigo.vi= vi@intel.com>

On Thu, Sep 4, 2014 at 4:26 AM, Damien Lespiau <= damien.lespiau@intel.com> wrote:
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
=C2=A0drivers/gpu/drm/i915/i915_irq.c | 2 +-
=C2=A01 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_ir= q.c
index e9979f5..c62a2e4 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -503,7 +503,7 @@ static bool __intel_set_cpu_fifo_underrun_reporting(str= uct drm_device *dev,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ironlake_set_fifo_u= nderrun_reporting(dev, pipe, enable);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 else if (IS_GEN7(dev))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ivybridge_set_fifo_= underrun_reporting(dev, pipe, enable, old);
-=C2=A0 =C2=A0 =C2=A0 =C2=A0else if (IS_GEN8(dev))
+=C2=A0 =C2=A0 =C2=A0 =C2=A0else if (IS_GEN8(dev) || IS_GEN9(dev))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 broadwell_set_fifo_= underrun_reporting(dev, pipe, enable);

=C2=A0 =C2=A0 =C2=A0 =C2=A0 return old;
--
1.8.3.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesk= top.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx



--
Rodrigo Vivi
=C2=A0
--089e01228f16a69fc1050338f0d6-- --===============1117338724== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1117338724==--