[PATCH] drm/i915/gvt: Legacy HSW related MMIO handler clean up
Zhenyu Wang
zhenyuw at linux.intel.com
Wed May 24 08:42:22 UTC 2017
On 2017.05.24 13:41:12 +0800, fred gao wrote:
> diff --git a/drivers/gpu/drm/i915/gvt/mmio.h b/drivers/gpu/drm/i915/gvt/mmio.h
> index 45169f6..31d95f6 100644
> --- a/drivers/gpu/drm/i915/gvt/mmio.h
> +++ b/drivers/gpu/drm/i915/gvt/mmio.h
> @@ -39,25 +39,17 @@
> struct intel_gvt;
> struct intel_vgpu;
>
> -#define D_SNB (1 << 0)
> -#define D_IVB (1 << 1)
> -#define D_HSW (1 << 2)
> -#define D_BDW (1 << 3)
> -#define D_SKL (1 << 4)
> +#define D_BDW (1 << 0)
> +#define D_SKL (1 << 1)
>
> #define D_GEN9PLUS (D_SKL)
> #define D_GEN8PLUS (D_BDW | D_SKL)
> -#define D_GEN75PLUS (D_HSW | D_BDW | D_SKL)
> -#define D_GEN7PLUS (D_IVB | D_HSW | D_BDW | D_SKL)
>
> #define D_SKL_PLUS (D_SKL)
> #define D_BDW_PLUS (D_BDW | D_SKL)
> -#define D_HSW_PLUS (D_HSW | D_BDW | D_SKL)
> -#define D_IVB_PLUS (D_IVB | D_HSW | D_BDW | D_SKL)
>
> -#define D_PRE_BDW (D_SNB | D_IVB | D_HSW)
> -#define D_PRE_SKL (D_SNB | D_IVB | D_HSW | D_BDW)
> -#define D_ALL (D_SNB | D_IVB | D_HSW | D_BDW | D_SKL)
> +#define D_PRE_SKL (D_BDW)
> +#define D_ALL (D_BDW | D_SKL)
>
pls always base your work on lastest gvt-staging, obviously you missed KBL.
--
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: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170524/cab978b2/attachment.sig>
More information about the intel-gvt-dev
mailing list