[PATCH v2] drm/i915/gvt: add cmd_access to mmio e100
Zhang, Pei
pei.zhang at intel.com
Tue Feb 21 06:15:51 UTC 2017
I found this patch is treated as garbage by Outlook in my side. Bad OUTLOOK.
********* *****
BRs,
Pei Zhang
> -----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
More information about the intel-gvt-dev
mailing list