i915 and acrngt as modules


Ross Burton <ross.burton@...>
 

Hi,

I'm debugging a problem where graphics output doesn't work if i915 is
built as a kernel module instead of built in. If i915.enable_gvt The
problem is that acrngt isn't pulled in first:

[ 8.307364] acrngt not found

This results in i915 not starting correctly, and no output.

I'm solving that right now with a modprobe.d/acrn.conf file:

softdep i915 pre: acrngt

So that acrngt is loaded before i915, but I can't help but think this
is something i915 should be doing already. Is my modprobe tweak
really the best way, or can the kernel drivers themselves ask to load
that module themselves?

Cheers,
Ross


Zhao, Yakui
 

Hi, Ross

Thanks for reporting the issue.
Currently it has some problems if the I915 is built as module while I915_GVT is selected as builtin.
So the I915 and I915_GVT + ACRNGT are selected as builtin, This helps to reduce the dependency between
I915 and I915_GVT.
Laster we will consider the module dependency and this will need some time.

Thanks

-----Original Message-----
From: acrn-users@... [mailto:acrn-
users@...] On Behalf Of Ross Burton
Sent: Tuesday, March 12, 2019 10:53 PM
To: acrn-users@...
Subject: [acrn-users] i915 and acrngt as modules

Hi,

I'm debugging a problem where graphics output doesn't work if i915 is built as
a kernel module instead of built in. If i915.enable_gvt The problem is that
acrngt isn't pulled in first:

[ 8.307364] acrngt not found

This results in i915 not starting correctly, and no output.

I'm solving that right now with a modprobe.d/acrn.conf file:

softdep i915 pre: acrngt

So that acrngt is loaded before i915, but I can't help but think this is something
i915 should be doing already. Is my modprobe tweak really the best way, or
can the kernel drivers themselves ask to load that module themselves?

Cheers,
Ross