[Intel-gfx] [PATCH] drm/i915/gvt: drop checks for early Skylake revisions
Zhenyu Wang
zhenyuw at linux.intel.com
Thu Nov 17 01:01:41 UTC 2016
On 2016.11.16 12:13:59 +0200, Jani Nikula wrote:
> We no longer cater for pre-production revisions of Skylake.
>
> Fixes: d4362225e8cb ("drm/i915/gvt: update misc ctl regs base on stepping info")
> Cc: Ping Gao <ping.a.gao at intel.com>
> Cc: Zhenyu Wang <zhenyuw at linux.intel.com>
> Cc: Zhi Wang <zhi.a.wang at intel.com>
> Cc: <intel-gfx at lists.freedesktop.org>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
applied, thanks!
> 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;
> --
> 2.1.4
>
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161117/8c283f68/attachment.sig>
More information about the Intel-gfx
mailing list