All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Zanoni <paulo.r.zanoni@intel.com>
To: Jani Nikula <jani.nikula@intel.com>, igvt-g-dev@lists.01.org
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/gvt: drop checks for early Skylake revisions
Date: Wed, 16 Nov 2016 10:30:11 -0200	[thread overview]
Message-ID: <1479299411.2382.0.camel@intel.com> (raw)
In-Reply-To: <1479291239-3537-1-git-send-email-jani.nikula@intel.com>

Em Qua, 2016-11-16 às 12:13 +0200, Jani Nikula escreveu:
> We no longer cater for pre-production revisions of Skylake.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>

> 
> Fixes: d4362225e8cb ("drm/i915/gvt: update misc ctl regs base on
> stepping info")
> Cc: Ping Gao <ping.a.gao@intel.com>
> Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
> Cc: Zhi Wang <zhi.a.wang@intel.com>
> Cc: <intel-gfx@lists.freedesktop.org>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
>  drivers/gpu/drm/i915/gvt/handlers.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/handlers.c
> b/drivers/gpu/drm/i915/gvt/handlers.c
> index 1b3db0c7a6db..12cd9b2a415c 100644
> --- a/drivers/gpu/drm/i915/gvt/handlers.c
> +++ b/drivers/gpu/drm/i915/gvt/handlers.c
> @@ -1279,14 +1279,12 @@ static int skl_misc_ctl_write(struct
> intel_vgpu *vgpu, unsigned int offset,
>  	case 0x4ddc:
>  		vgpu_vreg(vgpu, offset) = 0x8000003c;
>  		/*
> WaCompressedResourceSamplerPbeMediaNewHashMode:skl */
> -		if (IS_SKL_REVID(dev_priv, SKL_REVID_C0,
> REVID_FOREVER))
> -			I915_WRITE(reg, vgpu_vreg(vgpu, offset));
> +		I915_WRITE(reg, vgpu_vreg(vgpu, offset));
>  		break;
>  	case 0x42080:
>  		vgpu_vreg(vgpu, offset) = 0x8000;
>  		/* WaCompressedResourceDisplayNewHashMode:skl */
> -		if (IS_SKL_REVID(dev_priv, SKL_REVID_E0,
> REVID_FOREVER))
> -			I915_WRITE(reg, vgpu_vreg(vgpu, offset));
> +		I915_WRITE(reg, vgpu_vreg(vgpu, offset));
>  		break;
>  	default:
>  		return -EINVAL;
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2016-11-16 12:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-16 10:13 [PATCH] drm/i915/gvt: drop checks for early Skylake revisions Jani Nikula
2016-11-16 11:47 ` ✓ Fi.CI.BAT: success for " Patchwork
2016-11-16 12:30 ` Paulo Zanoni [this message]
2016-11-17  1:01 ` [PATCH] " Zhenyu Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479299411.2382.0.camel@intel.com \
    --to=paulo.r.zanoni@intel.com \
    --cc=igvt-g-dev@lists.01.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.