[PATCH] drm/i915/gvt: Handle EDP_PSR_IMR and EDP_PSR_IIR for BXT.

Zhenyu Wang zhenyuw at linux.intel.com
Mon Jul 9 04:49:41 UTC 2018


On 2018.07.09 09:28:18 +0800, Colin Xu wrote:
> BXT supports EDP. However since GVT-g only simulate DP monitor
> to guest and handles EDP_PSR_IMR and EDP_PSR_IIR as default MMIO
> r/w. If guest r/w these IMR/IIR, GVT-g won't simulate the real
> HW behavior and below warning is printed:
> --------
> Interrupt register 0x64838 is not zero: 0xffffffff
> WARNING: CPU: 1 PID: 1 at drivers/gpu/drm/i915/i915_irq.c:161
> gen3_assert_iir_is_zero+0x34/0xa0
> 
> Call Trace:
> gen8_de_irq_postinstall+0xad/0x330
> gen8_irq_postinstall+0x23/0x80
> drm_irq_install+0xb5/0x130
> i915_driver_load+0xafd/0xf70
> --------
> Since GVT-g won't simulate EDP to guest, always set EDP_PSR_IMR
> and EDP_PSR_IIR IMR/IIR to 0.
> 
> Signed-off-by: Colin Xu <colin.xu at intel.com>
> ---

Applied this to -next which contains BXT support, thanks!

-- 
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/20180709/8b6e38a2/attachment.sig>


More information about the intel-gvt-dev mailing list