All of lore.kernel.org
 help / color / mirror / Atom feed
* drm/i915/bxt: drop some old workarounds
@ 2017-02-15 15:21 Jani Nikula
  2017-02-15 15:21 ` [PATCH 1/3] drm/i915/bxt: apply clock gating workaround to all revisions Jani Nikula
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jani Nikula @ 2017-02-15 15:21 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

Remove some rev A specific workarounds.

BR,
Jani.

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] drm/i915/bxt: apply clock gating workaround to all revisions
  2017-02-15 15:21 drm/i915/bxt: drop some old workarounds Jani Nikula
@ 2017-02-15 15:21 ` Jani Nikula
  2017-02-15 15:21 ` [PATCH 2/3] drm/i915/bxt: remove snooping workaround on old A revisions Jani Nikula
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Jani Nikula @ 2017-02-15 15:21 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

No need to cater for old A revisions.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/intel_pm.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 3d311e100643..fe243c65de1a 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -99,9 +99,8 @@ static void bxt_init_clock_gating(struct drm_i915_private *dev_priv)
 	 * Wa: Backlight PWM may stop in the asserted state, causing backlight
 	 * to stay fully on.
 	 */
-	if (IS_BXT_REVID(dev_priv, BXT_REVID_B0, REVID_FOREVER))
-		I915_WRITE(GEN9_CLKGATE_DIS_0, I915_READ(GEN9_CLKGATE_DIS_0) |
-			   PWM1_GATING_DIS | PWM2_GATING_DIS);
+	I915_WRITE(GEN9_CLKGATE_DIS_0, I915_READ(GEN9_CLKGATE_DIS_0) |
+		   PWM1_GATING_DIS | PWM2_GATING_DIS);
 }
 
 static void glk_init_clock_gating(struct drm_i915_private *dev_priv)
-- 
2.1.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] drm/i915/bxt: remove snooping workaround on old A revisions
  2017-02-15 15:21 drm/i915/bxt: drop some old workarounds Jani Nikula
  2017-02-15 15:21 ` [PATCH 1/3] drm/i915/bxt: apply clock gating workaround to all revisions Jani Nikula
@ 2017-02-15 15:21 ` Jani Nikula
  2017-02-15 15:21 ` [PATCH 3/3] drm/i915/bxt: remove WaRsDisableCoarsePowerGating for early BXT Jani Nikula
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Jani Nikula @ 2017-02-15 15:21 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

No need to cater for old A revisions.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/intel_device_info.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c
index 0891cc0e8626..2e1fd857e625 100644
--- a/drivers/gpu/drm/i915/intel_device_info.c
+++ b/drivers/gpu/drm/i915/intel_device_info.c
@@ -410,10 +410,6 @@ void intel_device_info_runtime_init(struct drm_i915_private *dev_priv)
 
 	info->has_snoop = !info->has_llc;
 
-	/* Snooping is broken on BXT A stepping. */
-	if (IS_BXT_REVID(dev_priv, 0, BXT_REVID_A1))
-		info->has_snoop = false;
-
 	DRM_DEBUG_DRIVER("slice mask: %04x\n", info->sseu.slice_mask);
 	DRM_DEBUG_DRIVER("slice total: %u\n", hweight8(info->sseu.slice_mask));
 	DRM_DEBUG_DRIVER("subslice total: %u\n",
-- 
2.1.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] drm/i915/bxt: remove WaRsDisableCoarsePowerGating for early BXT
  2017-02-15 15:21 drm/i915/bxt: drop some old workarounds Jani Nikula
  2017-02-15 15:21 ` [PATCH 1/3] drm/i915/bxt: apply clock gating workaround to all revisions Jani Nikula
  2017-02-15 15:21 ` [PATCH 2/3] drm/i915/bxt: remove snooping workaround on old A revisions Jani Nikula
@ 2017-02-15 15:21 ` Jani Nikula
  2017-02-15 17:53 ` ✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915/bxt: apply clock gating workaround to all revisions Patchwork
  2017-02-15 19:03 ` drm/i915/bxt: drop some old workarounds Imre Deak
  4 siblings, 0 replies; 7+ messages in thread
From: Jani Nikula @ 2017-02-15 15:21 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

No need to cater for old A revisions.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 7aa79033c166..7495a16b869a 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -2833,9 +2833,7 @@ intel_info(const struct drm_i915_private *dev_priv)
 
 /* WaRsDisableCoarsePowerGating:skl,bxt */
 #define NEEDS_WaRsDisableCoarsePowerGating(dev_priv) \
-	(IS_BXT_REVID(dev_priv, 0, BXT_REVID_A1) || \
-	 IS_SKL_GT3(dev_priv) || \
-	 IS_SKL_GT4(dev_priv))
+	(IS_SKL_GT3(dev_priv) || IS_SKL_GT4(dev_priv))
 
 /*
  * dp aux and gmbus irq on gen4 seems to be able to generate legacy interrupts
-- 
2.1.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* ✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915/bxt: apply clock gating workaround to all revisions
  2017-02-15 15:21 drm/i915/bxt: drop some old workarounds Jani Nikula
                   ` (2 preceding siblings ...)
  2017-02-15 15:21 ` [PATCH 3/3] drm/i915/bxt: remove WaRsDisableCoarsePowerGating for early BXT Jani Nikula
@ 2017-02-15 17:53 ` Patchwork
  2017-02-15 19:03 ` drm/i915/bxt: drop some old workarounds Imre Deak
  4 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2017-02-15 17:53 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx

== Series Details ==

Series: series starting with [1/3] drm/i915/bxt: apply clock gating workaround to all revisions
URL   : https://patchwork.freedesktop.org/series/19712/
State : failure

== Summary ==

Series 19712v1 Series without cover letter
https://patchwork.freedesktop.org/api/1.0/series/19712/revisions/1/mbox/

Test kms_pipe_crc_basic:
        Subgroup nonblocking-crc-pipe-a:
                pass       -> DMESG-FAIL (fi-snb-2520m)
        Subgroup nonblocking-crc-pipe-a-frame-sequence:
                pass       -> DMESG-FAIL (fi-snb-2520m)
        Subgroup nonblocking-crc-pipe-b:
                pass       -> DMESG-FAIL (fi-snb-2520m)
        Subgroup nonblocking-crc-pipe-b-frame-sequence:
                pass       -> DMESG-FAIL (fi-snb-2520m)
        Subgroup read-crc-pipe-a:
                pass       -> INCOMPLETE (fi-snb-2520m)

fi-bdw-5557u     total:252  pass:238  dwarn:3   dfail:0   fail:0   skip:11 
fi-bsw-n3050     total:252  pass:210  dwarn:3   dfail:0   fail:0   skip:39 
fi-bxt-j4205     total:252  pass:230  dwarn:3   dfail:0   fail:0   skip:19 
fi-bxt-t5700     total:83   pass:70   dwarn:0   dfail:0   fail:0   skip:12 
fi-byt-j1900     total:252  pass:222  dwarn:3   dfail:0   fail:0   skip:27 
fi-byt-n2820     total:252  pass:218  dwarn:3   dfail:0   fail:0   skip:31 
fi-hsw-4770      total:252  pass:233  dwarn:3   dfail:0   fail:0   skip:16 
fi-hsw-4770r     total:252  pass:233  dwarn:3   dfail:0   fail:0   skip:16 
fi-ilk-650       total:252  pass:199  dwarn:3   dfail:0   fail:0   skip:50 
fi-ivb-3520m     total:252  pass:231  dwarn:3   dfail:0   fail:0   skip:18 
fi-ivb-3770      total:252  pass:231  dwarn:3   dfail:0   fail:0   skip:18 
fi-kbl-7500u     total:252  pass:231  dwarn:3   dfail:0   fail:0   skip:18 
fi-skl-6260u     total:252  pass:239  dwarn:3   dfail:0   fail:0   skip:10 
fi-skl-6700hq    total:252  pass:232  dwarn:3   dfail:0   fail:0   skip:17 
fi-skl-6700k     total:252  pass:230  dwarn:4   dfail:0   fail:0   skip:18 
fi-skl-6770hq    total:252  pass:239  dwarn:3   dfail:0   fail:0   skip:10 
fi-snb-2520m     total:203  pass:177  dwarn:0   dfail:4   fail:0   skip:21 
fi-snb-2600      total:252  pass:220  dwarn:3   dfail:0   fail:0   skip:29 

890e171e84eb11944701de9d53c1162dd5c38142 drm-tip: 2017y-02m-15d-15h-34m-13s UTC integration manifest
f7fdb1b drm/i915/bxt: remove WaRsDisableCoarsePowerGating for early BXT
15deab9 drm/i915/bxt: remove snooping workaround on old A revisions
c479c30 drm/i915/bxt: apply clock gating workaround to all revisions

== Logs ==

For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3828/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: drm/i915/bxt: drop some old workarounds
  2017-02-15 15:21 drm/i915/bxt: drop some old workarounds Jani Nikula
                   ` (3 preceding siblings ...)
  2017-02-15 17:53 ` ✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915/bxt: apply clock gating workaround to all revisions Patchwork
@ 2017-02-15 19:03 ` Imre Deak
  2017-02-16 10:15   ` Jani Nikula
  4 siblings, 1 reply; 7+ messages in thread
From: Imre Deak @ 2017-02-15 19:03 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx

On Wed, Feb 15, 2017 at 05:21:36PM +0200, Jani Nikula wrote:
> Remove some rev A specific workarounds.

On the series:
Reviewed-by: Imre Deak <imre.deak@intel.com>

> 
> BR,
> Jani.
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: drm/i915/bxt: drop some old workarounds
  2017-02-15 19:03 ` drm/i915/bxt: drop some old workarounds Imre Deak
@ 2017-02-16 10:15   ` Jani Nikula
  0 siblings, 0 replies; 7+ messages in thread
From: Jani Nikula @ 2017-02-16 10:15 UTC (permalink / raw)
  To: imre.deak; +Cc: intel-gfx

On Wed, 15 Feb 2017, Imre Deak <imre.deak@intel.com> wrote:
> On Wed, Feb 15, 2017 at 05:21:36PM +0200, Jani Nikula wrote:
>> Remove some rev A specific workarounds.
>
> On the series:
> Reviewed-by: Imre Deak <imre.deak@intel.com>

Thanks, pushed to dinq.

BR,
Jani.

>
>> 
>> BR,
>> Jani.
>> 
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-02-16 10:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 15:21 drm/i915/bxt: drop some old workarounds Jani Nikula
2017-02-15 15:21 ` [PATCH 1/3] drm/i915/bxt: apply clock gating workaround to all revisions Jani Nikula
2017-02-15 15:21 ` [PATCH 2/3] drm/i915/bxt: remove snooping workaround on old A revisions Jani Nikula
2017-02-15 15:21 ` [PATCH 3/3] drm/i915/bxt: remove WaRsDisableCoarsePowerGating for early BXT Jani Nikula
2017-02-15 17:53 ` ✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915/bxt: apply clock gating workaround to all revisions Patchwork
2017-02-15 19:03 ` drm/i915/bxt: drop some old workarounds Imre Deak
2017-02-16 10:15   ` Jani Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.