Hello, team!

I am working on intel GFX virtualization solution using host-mediated 
pass-through. I am currently trying to test virtualized card inside virtual 
platform (Simics simulator) by running Ubuntu with i915 driver inside. 
Underlying GFX is Haswell Gen7.5.

Simulator has artificial BIOS that sets some registers in GFX (BGSM BDSM GGC 
and some others) to provide address map and DRAM memory information to GFX 
driver.  But, when i915 is executing inside virtualized environment, it runs 
normally until GTT initial setup- and during GTT setup, driver fills GTT with 
0xfffff physical page frame numbers (so effectively invalid).

The same Ubuntu image works normally outside of virtualized environment (on 
real host), so I assume, problem is in some simulator issues.

Question is - what are prerequisites for i915 driver to properly setup GTT?  
Note, that address map information is set correctly in BGSM BDSM and GGC 
(simulator specifically takes care of it).
What other essential init steps do I miss?

Thanks for help

Ilya Kuprik
SSG Simics SoC modeling team, Moscow



--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to