[PATCH] drm/i915/gvt: Temporarily disable vfio_edid for BXT/APL

Zhenyu Wang zhenyuw at linux.intel.com
Tue Nov 10 06:28:25 UTC 2020


On 2020.11.09 15:39:39 +0800, Colin Xu wrote:
> Some disply regs are not setup correctly during HPD for BXT/APL thus
> vfio_edid still not working. Temporarily disable the vfio_edid dynamic
> update until issue fixed.
> 
> Signed-off-by: Colin Xu <colin.xu at intel.com>
> ---

Acked-by: Zhenyu Wang <zhenyuw at linux.intel.com>

>  drivers/gpu/drm/i915/gvt/vgpu.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/vgpu.c b/drivers/gpu/drm/i915/gvt/vgpu.c
> index f6d7e33c7099..399582aeeefb 100644
> --- a/drivers/gpu/drm/i915/gvt/vgpu.c
> +++ b/drivers/gpu/drm/i915/gvt/vgpu.c
> @@ -439,7 +439,8 @@ static struct intel_vgpu *__intel_gvt_create_vgpu(struct intel_gvt *gvt,
>  
>  	if (IS_BROADWELL(dev_priv))
>  		ret = intel_gvt_hypervisor_set_edid(vgpu, PORT_B);
> -	else
> +	/* FixMe: Re-enable APL/BXT once vfio_edid enabled */
> +	else if (!IS_BROXTON(dev_priv))
>  		ret = intel_gvt_hypervisor_set_edid(vgpu, PORT_D);
>  	if (ret)
>  		goto out_clean_sched_policy;
> -- 
> 2.29.2
> 
> _______________________________________________
> intel-gvt-dev mailing list
> intel-gvt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

-- 

$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/20201110/56264271/attachment.sig>


More information about the intel-gvt-dev mailing list