[PATCH] drm/i915/gvt: Legacy HSW related MMIO handler clean up

Zhenyu Wang zhenyuw at linux.intel.com
Mon May 22 08:48:19 UTC 2017


On 2017.05.22 16:09:04 +0800, fred gao wrote:
> remove the legacy HSW mmio handlers since pre-BDW platforms
> are not supported in GVT environment.
> 
> Signed-off-by: fred gao <fred.gao at intel.com>
> ---
>  drivers/gpu/drm/i915/gvt/handlers.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/handlers.c b/drivers/gpu/drm/i915/gvt/handlers.c
> index 4db20ec..47783ac 100644
> --- a/drivers/gpu/drm/i915/gvt/handlers.c
> +++ b/drivers/gpu/drm/i915/gvt/handlers.c
> @@ -2243,7 +2243,6 @@ static int init_generic_mmio_info(struct intel_gvt *gvt)
>  
>  	MMIO_F(0x4f000, 0x90, 0, 0, 0, D_ALL, NULL, NULL);
>  
> -	MMIO_D(GEN6_PCODE_MAILBOX, D_PRE_BDW);
>  	MMIO_D(GEN6_PCODE_DATA, D_ALL);
>  	MMIO_D(0x13812c, D_ALL);
>  	MMIO_DH(GEN7_ERR_INT, D_ALL, NULL, NULL);
> @@ -2329,7 +2328,6 @@ static int init_generic_mmio_info(struct intel_gvt *gvt)
>  	MMIO_DFH(0x1217c, D_ALL, F_CMD_ACCESS, NULL, NULL);
>  
>  	MMIO_F(0x2290, 8, F_CMD_ACCESS, 0, 0, D_HSW_PLUS, NULL, NULL);
> -	MMIO_DFH(GEN7_OACONTROL, D_HSW, F_CMD_ACCESS, NULL, NULL);
>  	MMIO_D(0x2b00, D_BDW_PLUS);
>  	MMIO_D(0x2360, D_BDW_PLUS);
>  	MMIO_F(0x5200, 32, F_CMD_ACCESS, 0, 0, D_ALL, NULL, NULL);

I hope we clean up all left dirty code before BDW, e.g all D_HSW usage and
itself, D_IVB, D_PRE_BDW, etc. 

-- 
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/20170522/c2b636d9/attachment.sig>


More information about the intel-gvt-dev mailing list