[PATCH v2] drm/i915/gvt: Add support for opregion virtualization
Zhenyu Wang
zhenyuw at linux.intel.com
Tue Sep 5 06:29:56 UTC 2017
On 2017.09.04 07:37:17 +0000, Zhang, Xiaolin wrote:
> On 09/04/2017 10:38 AM, Zhenyu Wang wrote:
> > On 2017.09.04 18:04:42 +0800, Xiaolin Zhang wrote:
> >> opregion emulated with a copy from host which leads to some display
> >> bugs such as guest resolution adjustment failure due to host opregion
> >> fail to claim port D support. with a fake opregion table provided
> >> to fully emulate opregion to meet guest port requirment.
> >>
> >> v1 - initial patch
> >> v2 - reforamt opregion arrary with 0x02x output
> >>
> > We need to publish the program you use to generate this virtual opregion
> > somewhere, maybe igt tool, so can review the setting and make future modification
> > able to do.
> Yes, I used the igt tool to dump one nuci7 opregion and save it as a
> binary array.
My point is that we need to have a program e.g in igt that generated
this table for kernel, this is required to make it available to be
checked or e.g to be changed for new hw.
> >
> > Anyway still think to only provide virtual VBT but ignore all optional
> > mailbox support. How about your test with guest OSes?
> I will continue to investigate it. the VBT is part of opregion and
> driver will parse opregion region to get all
> information including VBT during intel_opregion_setup and later directly
> used by intel_bios_init for port configuration.
>
> test was passed under NUC i5 with guest OS 16.04 replaced kernel with
> 4.12 stable branch kernel. I will test it on BDW platform.
>
> BTW, what kind of configuration test must be done?
I think normal display modesetting test is enough, and like to know if win
guest is ok for no mailbox support at all.
--
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/20170905/369f4cdf/attachment.sig>
More information about the intel-gvt-dev
mailing list