[PATCH v3] drm/i915/gvt: Handle GEN9_WM_CHICKEN3 with F_CMD_ACCESS.

Zhenyu Wang zhenyuw at linux.intel.com
Tue Aug 21 05:15:19 UTC 2018


On 2018.08.21 02:53:18 +0000, Zhao, Yan Y wrote:
> Acked-By: Zhao Yan<yan.y.zhao at intel.com>
> 
> > -----Original Message-----
> > From: Xu, Colin
> > Sent: Friday, August 17, 2018 4:42 PM
> > To: zhenyuw at linux.intel.com; Zhao, Yan Y <yan.y.zhao at intel.com>
> > Cc: intel-gvt-dev at lists.freedesktop.org
> > Subject: [PATCH v3] drm/i915/gvt: Handle GEN9_WM_CHICKEN3 with
> > F_CMD_ACCESS.
> > 
> > Recent patch introduce strict check on scanning cmd:
> > Commit 8d458ea0ec33 ("drm/i915/gvt: return error on cmd access")
> > 
> > Before 8d458ea0ec33, if cmd_reg_handler() checks that a cmd access a mmio
> > that not marked as F_CMD_ACCESS, it simply returns 0 and log an error.
> > Now it will return -EBADRQC which will cause the workload fail to submit.
> > 
> > On BXT, i915 applies WaClearHIZ_WM_CHICKEN3 which will program
> > GEN9_WM_CHICKEN3 by LRI when init wa ctx. If it has no F_CMD_ACCESS flag,
> > vgpu will fail to start. Also add F_MODE_MASK since it's mode mask reg.
> > 
> > v2: Refresh commit message to elaborate issue symptom in detail.
> > v3: Make SKL_PLUS share same handling since GEN9_WM_CHICKEN3 should be
> >     F_CMD_ACCESS from HW aspect. (yan, zhenyu)
> > 
> > Signed-off-by: Colin Xu <colin.xu at intel.com>
> > ---

Thanks a lot for reviewing! Applied.

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


More information about the intel-gvt-dev mailing list