>
> If this doesn't work, could you also provide logs of the failure?
>
> Thanks,
> -- Daniel
--
You received this message because you are subscribed to the Google Groups "crosvm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crosvm-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/crosvm-dev/CABVzXAnB-oCnfQ5zx1r%3D0JnwKNvXc8kfizsCO2%2Bmvo4c0%2BQ7Rw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
Hi, David and Daniel,
We did further investigation these days, and found for graphic passthrough, it depends on PCH device.
So we added PCH device as:
--stub-pci-device 0000:00:1f.0,vendor=0x8086,device=0x2918,class=0x60100,subsystem_vendor=0x1af4,subsystem_device=0x1100
There is no crash now and OS can be booted up into kernel, but display can’t work normally.
After debug, we found there shorts lots of Device configure or FW configure.
For example, in Intel graphic driver, there is no engine found, like below.
unsigned int intel_engines_has_context_isolation(struct drm_i915_private *i915)
{
struct intel_engine_cs *engine;
unsigned int which;
which = 0;
for_each_uabi_engine(engine, i915) {
// no engine was found in i915 device here;
if (engine->default_state) {
which |= BIT(engine->uabi_class);
}
}
return which;
}
In our POC, we want to passthrough graphic device through Crosvm + OVMF + Android.
We think whether it can be solved by transfer the FW configure information from corsvm to OVMF + Android.
Do you have any suggestion?
Thanks.
--
You received this message because you are subscribed to a topic in the Google Groups "crosvm-dev" group.
To unsubscribe from this topic, visit
https://groups.google.com/a/chromium.org/d/topic/crosvm-dev/2aQNvVzoLqU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
crosvm-dev+...@chromium.org.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/crosvm-dev/CAOiLmNHAuCciUHuFkQcksLnNpe%2BdiCz-ApFbDGdfZY%3DX9FTg%2Bw%40mail.gmail.com.
Hi, Shirley:
1) For i915 driver depended on PCH, I ever fixed through:
a1f6bfe17931 drm/i915: Try to guess PCH type even without ISA bridge
please check whether your android kernel has this commit or not.
2) For “there shorts lots of Device configure or FW configure”, did you package iGOP into OVMF ? as vfio-pci and iGOP will do several pci reset to initialize passthrough iGPU, host FW initialized iGPU info may be lost after these pci reset. If you don’t package iGOP into OVMF, the following patch may be helpful.
a. https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2412387
b. pass vfio_pci.disable_function_reset=1 to host kernel
thanks
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/crosvm-dev/BY5PR11MB429122BD258152ADED823A998D4C9%40BY5PR11MB4291.namprd11.prod.outlook.com.