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

Zhenyu Wang zhenyuw at linux.intel.com
Tue Feb 21 06:53:17 UTC 2017


On 2017.02.21 06:15:51 +0000, Zhang, Pei wrote:
> I found this patch is treated as garbage by Outlook in my side. Bad OUTLOOK.
> 

Time to change mail client! Applied this one. Thanks!

> 
> > -----Original Message-----
> > From: intel-gvt-dev [mailto:intel-gvt-dev-bounces at lists.freedesktop.org] On
> > Behalf Of Pei Zhang
> > Sent: Tuesday, February 21, 2017 21:58
> > To: intel-gvt-dev at lists.freedesktop.org
> > Cc: Zhang, Pei <pei.zhang at intel.com>
> > Subject: [PATCH v2] drm/i915/gvt: add cmd_access to mmio e100
> > 
> > Linux guest is using this MMIO in lri command. Add cmd_access flag for this
> > mmio in gvt to avoid error log.
> > 
> > v2: change the mmio address to its macro name
> > 
> > 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..adaab8d 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(GEN7_HALF_SLICE_CHICKEN1, D_ALL, F_MODE_MASK | F_CMD_ACCESS,
> > +NULL, NULL);
> > 
> >  	/* display */
> >  	MMIO_F(0x60220, 0x20, 0, 0, 0, D_ALL, NULL, NULL);
> > --
> > 2.7.4
> > 
> > _______________________________________________
> > intel-gvt-dev mailing list
> > intel-gvt-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
> _______________________________________________
> intel-gvt-dev mailing list
> intel-gvt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

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


More information about the intel-gvt-dev mailing list