[Intel-gfx] i915 GTT table setup
Kuprik, Ilya V
ilya.v.kuprik at intel.com
Thu Apr 30 02:57:40 PDT 2015
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20150430/5a837c62/attachment.html>
More information about the Intel-gfx
mailing list