public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/csr: Allow matching unknown HW steppings with generic firmware
@ 2016-03-07 12:05 Chris Wilson
  2016-03-07 13:12 ` Imre Deak
  2016-03-07 16:24 ` ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 7+ messages in thread
From: Chris Wilson @ 2016-03-07 12:05 UTC (permalink / raw)
  To: intel-gfx; +Cc: Jani Nikula, Daniel Vetter

If the firmware is generic and has a run-anywhere mode, enable it rather
than completely failing on unknown HW revisions.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Sunil Kamath <sunil.kamath@intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Animesh Manna <animesh.manna@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
---
This is probably stable@ material since it could allow future hw to
just work.
-Chris
---
 drivers/gpu/drm/i915/intel_csr.c | 46 +++++++++++++++++-----------------------
 1 file changed, 19 insertions(+), 27 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_csr.c b/drivers/gpu/drm/i915/intel_csr.c
index 902054efb902..575a5821d2a1 100644
--- a/drivers/gpu/drm/i915/intel_csr.c
+++ b/drivers/gpu/drm/i915/intel_csr.c
@@ -188,28 +188,31 @@ static const struct stepping_info bxt_stepping_info[] = {
 	{'B', '0'}, {'B', '1'}, {'B', '2'}
 };
 
-static const struct stepping_info *intel_get_stepping_info(struct drm_device *dev)
+static const struct stepping_info no_stepping_info = { '*', '*' };
+
+static const struct stepping_info *
+intel_get_stepping_info(struct drm_i915_private *dev_priv)
 {
 	const struct stepping_info *si;
 	unsigned int size;
 
-	if (IS_KABYLAKE(dev)) {
+	if (IS_KABYLAKE(dev_priv)) {
 		size = ARRAY_SIZE(kbl_stepping_info);
 		si = kbl_stepping_info;
-	} else if (IS_SKYLAKE(dev)) {
+	} else if (IS_SKYLAKE(dev_priv)) {
 		size = ARRAY_SIZE(skl_stepping_info);
 		si = skl_stepping_info;
-	} else if (IS_BROXTON(dev)) {
+	} else if (IS_BROXTON(dev_priv)) {
 		size = ARRAY_SIZE(bxt_stepping_info);
 		si = bxt_stepping_info;
 	} else {
-		return NULL;
+		size = 0;
 	}
 
-	if (INTEL_REVID(dev) < size)
-		return si + INTEL_REVID(dev);
+	if (INTEL_REVID(dev_priv) < size)
+		return si + INTEL_REVID(dev_priv);
 
-	return NULL;
+	return &no_stepping_info;
 }
 
 /**
@@ -252,13 +255,11 @@ bool intel_csr_load_program(struct drm_i915_private *dev_priv)
 static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
 			      const struct firmware *fw)
 {
-	struct drm_device *dev = dev_priv->dev;
 	struct intel_css_header *css_header;
 	struct intel_package_header *package_header;
 	struct intel_dmc_header *dmc_header;
 	struct intel_csr *csr = &dev_priv->csr;
-	const struct stepping_info *stepping_info = intel_get_stepping_info(dev);
-	char stepping, substepping;
+	const struct stepping_info *si = intel_get_stepping_info(dev_priv);
 	uint32_t dmc_offset = CSR_DEFAULT_FW_OFFSET, readcount = 0, nbytes;
 	uint32_t i;
 	uint32_t *dmc_payload;
@@ -266,14 +267,6 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
 	if (!fw)
 		return NULL;
 
-	if (!stepping_info) {
-		DRM_ERROR("Unknown stepping info, firmware loading failed\n");
-		return NULL;
-	}
-
-	stepping = stepping_info->stepping;
-	substepping = stepping_info->substepping;
-
 	/* Extract CSS Header information*/
 	css_header = (struct intel_css_header *)fw->data;
 	if (sizeof(struct intel_css_header) !=
@@ -285,7 +278,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
 
 	csr->version = css_header->version;
 
-	if ((IS_SKYLAKE(dev) || IS_KABYLAKE(dev)) &&
+	if ((IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) &&
 	    csr->version < SKL_CSR_VERSION_REQUIRED) {
 		DRM_INFO("Refusing to load old Skylake DMC firmware v%u.%u,"
 			 " please upgrade to v%u.%u or later"
@@ -313,11 +306,11 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
 	/* Search for dmc_offset to find firware binary. */
 	for (i = 0; i < package_header->num_entries; i++) {
 		if (package_header->fw_info[i].substepping == '*' &&
-		    stepping == package_header->fw_info[i].stepping) {
+		    si->stepping == package_header->fw_info[i].stepping) {
 			dmc_offset = package_header->fw_info[i].offset;
 			break;
-		} else if (stepping == package_header->fw_info[i].stepping &&
-			substepping == package_header->fw_info[i].substepping) {
+		} else if (si->stepping == package_header->fw_info[i].stepping &&
+			   si->substepping == package_header->fw_info[i].substepping) {
 			dmc_offset = package_header->fw_info[i].offset;
 			break;
 		} else if (package_header->fw_info[i].stepping == '*' &&
@@ -325,7 +318,8 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
 			dmc_offset = package_header->fw_info[i].offset;
 	}
 	if (dmc_offset == CSR_DEFAULT_FW_OFFSET) {
-		DRM_ERROR("Firmware not supported for %c stepping\n", stepping);
+		DRM_ERROR("Firmware not supported for %c stepping\n",
+			  si->stepping);
 		return NULL;
 	}
 	readcount += dmc_offset;
@@ -371,9 +365,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
 		return NULL;
 	}
 
-	memcpy(dmc_payload, &fw->data[readcount], nbytes);
-
-	return dmc_payload;
+	return memcpy(dmc_payload, &fw->data[readcount], nbytes);
 }
 
 static void csr_load_work_fn(struct work_struct *work)
-- 
2.7.0

_______________________________________________
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

* Re: [PATCH] drm/i915/csr: Allow matching unknown HW steppings with generic firmware
  2016-03-07 12:05 [PATCH] drm/i915/csr: Allow matching unknown HW steppings with generic firmware Chris Wilson
@ 2016-03-07 13:12 ` Imre Deak
  2016-03-07 13:39   ` Chris Wilson
  2016-03-07 16:24 ` ✗ Fi.CI.BAT: failure for " Patchwork
  1 sibling, 1 reply; 7+ messages in thread
From: Imre Deak @ 2016-03-07 13:12 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx; +Cc: Daniel Vetter, Jani Nikula

On ma, 2016-03-07 at 12:05 +0000, Chris Wilson wrote:
> If the firmware is generic and has a run-anywhere mode, enable it rather
> than completely failing on unknown HW revisions.
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Damien Lespiau <damien.lespiau@intel.com>
> Cc: Imre Deak <imre.deak@intel.com>
> Cc: Sunil Kamath <sunil.kamath@intel.com>
> Cc: Daniel Vetter <daniel.vetter@intel.com>
> Cc: Animesh Manna <animesh.manna@intel.com>
> Cc: Jani Nikula <jani.nikula@intel.com>

Looks ok:
Reviewed-by: Imre Deak <imre.deak@intel.com>

> ---
> This is probably stable@ material since it could allow future hw to
> just work.

Existing platforms will select the generic firmware version already if
one is provided in the image, this change will just allow us not to
provide a stepping info table for new platforms. So not sure why it's
@stable material.

--Imre

> -Chris
> ---
>  drivers/gpu/drm/i915/intel_csr.c | 46 +++++++++++++++++-----------------------
>  1 file changed, 19 insertions(+), 27 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_csr.c b/drivers/gpu/drm/i915/intel_csr.c
> index 902054efb902..575a5821d2a1 100644
> --- a/drivers/gpu/drm/i915/intel_csr.c
> +++ b/drivers/gpu/drm/i915/intel_csr.c
> @@ -188,28 +188,31 @@ static const struct stepping_info bxt_stepping_info[] = {
>  	{'B', '0'}, {'B', '1'}, {'B', '2'}
>  };
>  
> -static const struct stepping_info *intel_get_stepping_info(struct drm_device *dev)
> +static const struct stepping_info no_stepping_info = { '*', '*' };
> +
> +static const struct stepping_info *
> +intel_get_stepping_info(struct drm_i915_private *dev_priv)
>  {
>  	const struct stepping_info *si;
>  	unsigned int size;
>  
> -	if (IS_KABYLAKE(dev)) {
> +	if (IS_KABYLAKE(dev_priv)) {
>  		size = ARRAY_SIZE(kbl_stepping_info);
>  		si = kbl_stepping_info;
> -	} else if (IS_SKYLAKE(dev)) {
> +	} else if (IS_SKYLAKE(dev_priv)) {
>  		size = ARRAY_SIZE(skl_stepping_info);
>  		si = skl_stepping_info;
> -	} else if (IS_BROXTON(dev)) {
> +	} else if (IS_BROXTON(dev_priv)) {
>  		size = ARRAY_SIZE(bxt_stepping_info);
>  		si = bxt_stepping_info;
>  	} else {
> -		return NULL;
> +		size = 0;
>  	}
>  
> -	if (INTEL_REVID(dev) < size)
> -		return si + INTEL_REVID(dev);
> +	if (INTEL_REVID(dev_priv) < size)
> +		return si + INTEL_REVID(dev_priv);
>  
> -	return NULL;
> +	return &no_stepping_info;
>  }
>  
>  /**
> @@ -252,13 +255,11 @@ bool intel_csr_load_program(struct drm_i915_private *dev_priv)
>  static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
>  			      const struct firmware *fw)
>  {
> -	struct drm_device *dev = dev_priv->dev;
>  	struct intel_css_header *css_header;
>  	struct intel_package_header *package_header;
>  	struct intel_dmc_header *dmc_header;
>  	struct intel_csr *csr = &dev_priv->csr;
> -	const struct stepping_info *stepping_info = intel_get_stepping_info(dev);
> -	char stepping, substepping;
> +	const struct stepping_info *si = intel_get_stepping_info(dev_priv);
>  	uint32_t dmc_offset = CSR_DEFAULT_FW_OFFSET, readcount = 0, nbytes;
>  	uint32_t i;
>  	uint32_t *dmc_payload;
> @@ -266,14 +267,6 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
>  	if (!fw)
>  		return NULL;
>  
> -	if (!stepping_info) {
> -		DRM_ERROR("Unknown stepping info, firmware loading failed\n");
> -		return NULL;
> -	}
> -
> -	stepping = stepping_info->stepping;
> -	substepping = stepping_info->substepping;
> -
>  	/* Extract CSS Header information*/
>  	css_header = (struct intel_css_header *)fw->data;
>  	if (sizeof(struct intel_css_header) !=
> @@ -285,7 +278,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
>  
>  	csr->version = css_header->version;
>  
> -	if ((IS_SKYLAKE(dev) || IS_KABYLAKE(dev)) &&
> +	if ((IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) &&
>  	    csr->version < SKL_CSR_VERSION_REQUIRED) {
>  		DRM_INFO("Refusing to load old Skylake DMC firmware v%u.%u,"
>  			 " please upgrade to v%u.%u or later"
> @@ -313,11 +306,11 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
>  	/* Search for dmc_offset to find firware binary. */
>  	for (i = 0; i < package_header->num_entries; i++) {
>  		if (package_header->fw_info[i].substepping == '*' &&
> -		    stepping == package_header->fw_info[i].stepping) {
> +		    si->stepping == package_header->fw_info[i].stepping) {
>  			dmc_offset = package_header->fw_info[i].offset;
>  			break;
> -		} else if (stepping == package_header->fw_info[i].stepping &&
> -			substepping == package_header->fw_info[i].substepping) {
> +		} else if (si->stepping == package_header->fw_info[i].stepping &&
> +			   si->substepping == package_header->fw_info[i].substepping) {
>  			dmc_offset = package_header->fw_info[i].offset;
>  			break;
>  		} else if (package_header->fw_info[i].stepping == '*' &&
> @@ -325,7 +318,8 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
>  			dmc_offset = package_header->fw_info[i].offset;
>  	}
>  	if (dmc_offset == CSR_DEFAULT_FW_OFFSET) {
> -		DRM_ERROR("Firmware not supported for %c stepping\n", stepping);
> +		DRM_ERROR("Firmware not supported for %c stepping\n",
> +			  si->stepping);
>  		return NULL;
>  	}
>  	readcount += dmc_offset;
> @@ -371,9 +365,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
>  		return NULL;
>  	}
>  
> -	memcpy(dmc_payload, &fw->data[readcount], nbytes);
> -
> -	return dmc_payload;
> +	return memcpy(dmc_payload, &fw->data[readcount], nbytes);
>  }
>  
>  static void csr_load_work_fn(struct work_struct *work)
_______________________________________________
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: [PATCH] drm/i915/csr: Allow matching unknown HW steppings with generic firmware
  2016-03-07 13:12 ` Imre Deak
@ 2016-03-07 13:39   ` Chris Wilson
  2016-03-07 15:56     ` Imre Deak
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Wilson @ 2016-03-07 13:39 UTC (permalink / raw)
  To: Imre Deak; +Cc: Jani Nikula, intel-gfx, Daniel Vetter

On Mon, Mar 07, 2016 at 03:12:40PM +0200, Imre Deak wrote:
> On ma, 2016-03-07 at 12:05 +0000, Chris Wilson wrote:
> > If the firmware is generic and has a run-anywhere mode, enable it rather
> > than completely failing on unknown HW revisions.
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Damien Lespiau <damien.lespiau@intel.com>
> > Cc: Imre Deak <imre.deak@intel.com>
> > Cc: Sunil Kamath <sunil.kamath@intel.com>
> > Cc: Daniel Vetter <daniel.vetter@intel.com>
> > Cc: Animesh Manna <animesh.manna@intel.com>
> > Cc: Jani Nikula <jani.nikula@intel.com>
> 
> Looks ok:
> Reviewed-by: Imre Deak <imre.deak@intel.com>
> 
> > ---
> > This is probably stable@ material since it could allow future hw to
> > just work.
> 
> Existing platforms will select the generic firmware version already if
> one is provided in the image, this change will just allow us not to
> provide a stepping info table for new platforms. So not sure why it's
> @stable material.

Because we are already hitting the scenario where there are new
platforms that do not match the hardcoded set of steppings and error out
i.e. we have failed to futureproof the code.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
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: [PATCH] drm/i915/csr: Allow matching unknown HW steppings with generic firmware
  2016-03-07 13:39   ` Chris Wilson
@ 2016-03-07 15:56     ` Imre Deak
  0 siblings, 0 replies; 7+ messages in thread
From: Imre Deak @ 2016-03-07 15:56 UTC (permalink / raw)
  To: Chris Wilson; +Cc: Jani Nikula, intel-gfx, Daniel Vetter

On ma, 2016-03-07 at 13:39 +0000, Chris Wilson wrote:
> On Mon, Mar 07, 2016 at 03:12:40PM +0200, Imre Deak wrote:
> > On ma, 2016-03-07 at 12:05 +0000, Chris Wilson wrote:
> > > If the firmware is generic and has a run-anywhere mode, enable it
> > > rather
> > > than completely failing on unknown HW revisions.
> > > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > > Cc: Damien Lespiau <damien.lespiau@intel.com>
> > > Cc: Imre Deak <imre.deak@intel.com>
> > > Cc: Sunil Kamath <sunil.kamath@intel.com>
> > > Cc: Daniel Vetter <daniel.vetter@intel.com>
> > > Cc: Animesh Manna <animesh.manna@intel.com>
> > > Cc: Jani Nikula <jani.nikula@intel.com>
> > 
> > Looks ok:
> > Reviewed-by: Imre Deak <imre.deak@intel.com>
> > 
> > > ---
> > > This is probably stable@ material since it could allow future hw
> > > to
> > > just work.
> > 
> > Existing platforms will select the generic firmware version already if
> > one is provided in the image, this change will just allow us not to
> > provide a stepping info table for new platforms. So not sure why it's
> > @stable material.
> 
> Because we are already hitting the scenario where there are new
> platforms that do not match the hardcoded set of steppings and error out
> i.e. we have failed to futureproof the code.

Ok, I missed the part that this also fixes the fw version selection for
existing platforms with a new stepping. So yes, agreed we need this for
@stable.

--Imre
_______________________________________________
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

* ✗ Fi.CI.BAT: failure for drm/i915/csr: Allow matching unknown HW steppings with generic firmware
  2016-03-07 12:05 [PATCH] drm/i915/csr: Allow matching unknown HW steppings with generic firmware Chris Wilson
  2016-03-07 13:12 ` Imre Deak
@ 2016-03-07 16:24 ` Patchwork
  2016-03-16 15:45   ` Imre Deak
  1 sibling, 1 reply; 7+ messages in thread
From: Patchwork @ 2016-03-07 16:24 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/csr: Allow matching unknown HW steppings with generic firmware
URL   : https://patchwork.freedesktop.org/series/4173/
State : failure

== Summary ==

Series 4173v1 drm/i915/csr: Allow matching unknown HW steppings with generic firmware
http://patchwork.freedesktop.org/api/1.0/series/4173/revisions/1/mbox/

Test gem_mmap_gtt:
        Subgroup basic-small-bo-tiledx:
                pass       -> FAIL       (ilk-hp8440p)
Test gem_sync:
        Subgroup basic-all:
                pass       -> DMESG-FAIL (ilk-hp8440p)
        Subgroup basic-bsd:
                dmesg-fail -> PASS       (ilk-hp8440p)
Test kms_flip:
        Subgroup basic-flip-vs-modeset:
                pass       -> DMESG-WARN (skl-i5k-2)
                dmesg-warn -> PASS       (bdw-ultra)
        Subgroup basic-flip-vs-wf_vblank:
                pass       -> DMESG-WARN (hsw-gt2)
Test kms_force_connector_basic:
        Subgroup force-edid:
                skip       -> PASS       (ilk-hp8440p)
Test kms_frontbuffer_tracking:
        Subgroup basic:
                pass       -> DMESG-WARN (snb-x220t)
                pass       -> DMESG-WARN (hsw-gt2)
                dmesg-warn -> PASS       (hsw-brixbox)
Test kms_pipe_crc_basic:
        Subgroup hang-read-crc-pipe-a:
                skip       -> PASS       (hsw-brixbox)
        Subgroup suspend-read-crc-pipe-a:
                pass       -> SKIP       (hsw-gt2)
        Subgroup suspend-read-crc-pipe-c:
                dmesg-warn -> PASS       (bsw-nuc-2)
Test pm_rpm:
        Subgroup basic-pci-d3-state:
                pass       -> DMESG-WARN (snb-dellxps)
        Subgroup basic-rte:
                dmesg-warn -> PASS       (snb-x220t)
                dmesg-warn -> PASS       (bsw-nuc-2)

bdw-nuci7        total:183  pass:172  dwarn:0   dfail:0   fail:0   skip:11 
bdw-ultra        total:183  pass:165  dwarn:0   dfail:0   fail:0   skip:18 
bsw-nuc-2        total:183  pass:149  dwarn:0   dfail:0   fail:0   skip:34 
byt-nuc          total:183  pass:152  dwarn:0   dfail:0   fail:0   skip:31 
hsw-brixbox      total:183  pass:164  dwarn:0   dfail:0   fail:0   skip:19 
hsw-gt2          total:183  pass:166  dwarn:2   dfail:0   fail:0   skip:15 
ilk-hp8440p      total:183  pass:122  dwarn:1   dfail:1   fail:1   skip:58 
ivb-t430s        total:183  pass:162  dwarn:0   dfail:0   fail:0   skip:21 
skl-i5k-2        total:183  pass:162  dwarn:1   dfail:0   fail:0   skip:20 
skl-i7k-2        total:183  pass:163  dwarn:0   dfail:0   fail:0   skip:20 
snb-dellxps      total:183  pass:152  dwarn:2   dfail:0   fail:0   skip:29 
snb-x220t        total:183  pass:153  dwarn:1   dfail:1   fail:0   skip:28 

Results at /archive/results/CI_IGT_test/Patchwork_1535/

81c9b9181265e083b7e2bb31ac8701bf57774657 drm-intel-nightly: 2016y-03m-07d-15h-43m-50s UTC integration manifest
26beb3d09a245443974979bcf2dea7f0b6f18c9a drm/i915/csr: Allow matching unknown HW steppings with generic firmware

_______________________________________________
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: ✗ Fi.CI.BAT: failure for drm/i915/csr: Allow matching unknown HW steppings with generic firmware
  2016-03-07 16:24 ` ✗ Fi.CI.BAT: failure for " Patchwork
@ 2016-03-16 15:45   ` Imre Deak
  2016-03-16 16:05     ` Imre Deak
  0 siblings, 1 reply; 7+ messages in thread
From: Imre Deak @ 2016-03-16 15:45 UTC (permalink / raw)
  To: intel-gfx, Chris Wilson

On Mon, 2016-03-07 at 16:24 +0000, Patchwork wrote:
> == Series Details ==
> 
> Series: drm/i915/csr: Allow matching unknown HW steppings with
> generic firmware
> URL   : https://patchwork.freedesktop.org/series/4173/
> State : failure
> 
> == Summary ==
> 
> Series 4173v1 drm/i915/csr: Allow matching unknown HW steppings with
> generic firmware
> http://patchwork.freedesktop.org/api/1.0/series/4173/revisions/1/mbox
> /
> 
> Test gem_mmap_gtt:
>         Subgroup basic-small-bo-tiledx:
>                 pass       -> FAIL       (ilk-hp8440p)

Unrelated platform, I opened a new bug:
https://bugs.freedesktop.org/show_bug.cgi?id=94571

> Test gem_sync:
>         Subgroup basic-all:
>                 pass       -> DMESG-FAIL (ilk-hp8440p)

Unrelated platform, could be related to:
https://bugs.freedesktop.org/show_bug.cgi?id=94307

>         Subgroup basic-bsd:
>                 dmesg-fail -> PASS       (ilk-hp8440p)
> Test kms_flip:
>         Subgroup basic-flip-vs-modeset:
>                 pass       -> DMESG-WARN (skl-i5k-2)

Unrelated platform, I opened a new bug:
https://bugs.freedesktop.org/show_bug.cgi?id=94572

>                 dmesg-warn -> PASS       (bdw-ultra)
>         Subgroup basic-flip-vs-wf_vblank:
>                 pass       -> DMESG-WARN (hsw-gt2)

Watermark programming while not powered, to be fixed by Matt's patch on
the list.

> Test kms_force_connector_basic:
>         Subgroup force-edid:
>                 skip       -> PASS       (ilk-hp8440p)
> Test kms_frontbuffer_tracking:
>         Subgroup basic:
>                 pass       -> DMESG-WARN (snb-x220t)
>                 pass       -> DMESG-WARN (hsw-gt2)

The same as the above watermark programming problem.

>                 dmesg-warn -> PASS       (hsw-brixbox)
> Test kms_pipe_crc_basic:
>         Subgroup hang-read-crc-pipe-a:
>                 skip       -> PASS       (hsw-brixbox)
>         Subgroup suspend-read-crc-pipe-a:
>                 pass       -> SKIP       (hsw-gt2)
>         Subgroup suspend-read-crc-pipe-c:
>                 dmesg-warn -> PASS       (bsw-nuc-2)
> Test pm_rpm:
>         Subgroup basic-pci-d3-state:
>                 pass       -> DMESG-WARN (snb-dellxps)

The above Watermark programming problem.

>         Subgroup basic-rte:
>                 dmesg-warn -> PASS       (snb-x220t)
>                 dmesg-warn -> PASS       (bsw-nuc-2)
> 
> bdw-
> nuci7        total:183  pass:172  dwarn:0   dfail:0   fail:0   skip:1
> 1 
> bdw-
> ultra        total:183  pass:165  dwarn:0   dfail:0   fail:0   skip:1
> 8 
> bsw-nuc-
> 2        total:183  pass:149  dwarn:0   dfail:0   fail:0   skip:34 
> byt-
> nuc          total:183  pass:152  dwarn:0   dfail:0   fail:0   skip:3
> 1 
> hsw-
> brixbox      total:183  pass:164  dwarn:0   dfail:0   fail:0   skip:1
> 9 
> hsw-
> gt2          total:183  pass:166  dwarn:2   dfail:0   fail:0   skip:1
> 5 
> ilk-
> hp8440p      total:183  pass:122  dwarn:1   dfail:1   fail:1   skip:5
> 8 
> ivb-
> t430s        total:183  pass:162  dwarn:0   dfail:0   fail:0   skip:2
> 1 
> skl-i5k-
> 2        total:183  pass:162  dwarn:1   dfail:0   fail:0   skip:20 
> skl-i7k-
> 2        total:183  pass:163  dwarn:0   dfail:0   fail:0   skip:20 
> snb-
> dellxps      total:183  pass:152  dwarn:2   dfail:0   fail:0   skip:2
> 9 
> snb-
> x220t        total:183  pass:153  dwarn:1   dfail:1   fail:0   skip:2
> 8 
> 
> Results at /archive/results/CI_IGT_test/Patchwork_1535/
> 
> 81c9b9181265e083b7e2bb31ac8701bf57774657 drm-intel-nightly: 2016y-
> 03m-07d-15h-43m-50s UTC integration manifest
> 26beb3d09a245443974979bcf2dea7f0b6f18c9a drm/i915/csr: Allow matching
> unknown HW steppings with generic firmware
> 
> _______________________________________________
> 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: ✗ Fi.CI.BAT: failure for drm/i915/csr: Allow matching unknown HW steppings with generic firmware
  2016-03-16 15:45   ` Imre Deak
@ 2016-03-16 16:05     ` Imre Deak
  0 siblings, 0 replies; 7+ messages in thread
From: Imre Deak @ 2016-03-16 16:05 UTC (permalink / raw)
  To: intel-gfx, Chris Wilson

On Wed, 2016-03-16 at 17:45 +0200, Imre Deak wrote:
> On Mon, 2016-03-07 at 16:24 +0000, Patchwork wrote:
> > == Series Details ==
> > 
> > Series: drm/i915/csr: Allow matching unknown HW steppings with
> > generic firmware
> > URL   : https://patchwork.freedesktop.org/series/4173/
> > State : failure
> > 
> > == Summary ==
> > 
> > Series 4173v1 drm/i915/csr: Allow matching unknown HW steppings
> > with
> > generic firmware
> > http://patchwork.freedesktop.org/api/1.0/series/4173/revisions/1/mb
> > ox
> > /
> > 
> > Test gem_mmap_gtt:
> >         Subgroup basic-small-bo-tiledx:
> >                 pass       -> FAIL       (ilk-hp8440p)
> 
> Unrelated platform, I opened a new bug:
> https://bugs.freedesktop.org/show_bug.cgi?id=94571
> 
> > Test gem_sync:
> >         Subgroup basic-all:
> >                 pass       -> DMESG-FAIL (ilk-hp8440p)
> 
> Unrelated platform, could be related to:
> https://bugs.freedesktop.org/show_bug.cgi?id=94307
> 
> >         Subgroup basic-bsd:
> >                 dmesg-fail -> PASS       (ilk-hp8440p)
> > Test kms_flip:
> >         Subgroup basic-flip-vs-modeset:
> >                 pass       -> DMESG-WARN (skl-i5k-2)
> 
> Unrelated platform, I opened a new bug:
> https://bugs.freedesktop.org/show_bug.cgi?id=94572
> 
> >                 dmesg-warn -> PASS       (bdw-ultra)
> >         Subgroup basic-flip-vs-wf_vblank:
> >                 pass       -> DMESG-WARN (hsw-gt2)
> 
> Watermark programming while not powered, to be fixed by Matt's patch
> on
> the list.
> 
> > Test kms_force_connector_basic:
> >         Subgroup force-edid:
> >                 skip       -> PASS       (ilk-hp8440p)
> > Test kms_frontbuffer_tracking:
> >         Subgroup basic:
> >                 pass       -> DMESG-WARN (snb-x220t)
> >                 pass       -> DMESG-WARN (hsw-gt2)
> 
> The same as the above watermark programming problem.
> 
> >                 dmesg-warn -> PASS       (hsw-brixbox)
> > Test kms_pipe_crc_basic:
> >         Subgroup hang-read-crc-pipe-a:
> >                 skip       -> PASS       (hsw-brixbox)
> >         Subgroup suspend-read-crc-pipe-a:
> >                 pass       -> SKIP       (hsw-gt2)
> >         Subgroup suspend-read-crc-pipe-c:
> >                 dmesg-warn -> PASS       (bsw-nuc-2)
> > Test pm_rpm:
> >         Subgroup basic-pci-d3-state:
> >                 pass       -> DMESG-WARN (snb-dellxps)
> 
> The above Watermark programming problem.

Thanks for the patch, pushed it to -dinq.

--Imre
_______________________________________________
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:[~2016-03-16 16:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07 12:05 [PATCH] drm/i915/csr: Allow matching unknown HW steppings with generic firmware Chris Wilson
2016-03-07 13:12 ` Imre Deak
2016-03-07 13:39   ` Chris Wilson
2016-03-07 15:56     ` Imre Deak
2016-03-07 16:24 ` ✗ Fi.CI.BAT: failure for " Patchwork
2016-03-16 15:45   ` Imre Deak
2016-03-16 16:05     ` Imre Deak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox