[PATCH] drm/i915/gvt: add cmd_access to mmio e100

Zhenyu Wang zhenyuw at linux.intel.com
Tue Feb 21 05:19:02 UTC 2017


On 2017.02.21 20:58:10 +0800, Pei Zhang wrote:
> Linux guest is using this MMIO in lri command. Add cmd_access flag for
> this mmio in gvt to avoid error log.
> 
> Signed-off-by: Pei Zhang <pei.zhang at intel.com>
> ---
>  drivers/gpu/drm/i915/gvt/handlers.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/handlers.c b/drivers/gpu/drm/i915/gvt/handlers.c
> index 194aadf..ad0e1b5 100644
> --- a/drivers/gpu/drm/i915/gvt/handlers.c
> +++ b/drivers/gpu/drm/i915/gvt/handlers.c
> @@ -1537,7 +1537,7 @@ static int init_generic_mmio_info(struct intel_gvt *gvt)
>  	MMIO_D(0x243c, D_ALL);
>  	MMIO_DFH(0x7018, D_ALL, F_MODE_MASK, NULL, NULL);
>  	MMIO_DFH(HALF_SLICE_CHICKEN3, D_ALL, F_MODE_MASK | F_CMD_ACCESS, NULL, NULL);
> -	MMIO_DFH(0xe100, D_ALL, F_MODE_MASK, NULL, NULL);
> +	MMIO_DFH(0xe100, D_ALL, F_MODE_MASK | F_CMD_ACCESS, NULL, NULL);
>  

Should just use GEN7_HALF_SLICE_CHICKEN1.

-- 
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-gvt-dev/attachments/20170221/bb8878de/attachment.sig>


More information about the intel-gvt-dev mailing list