config_tools: update gpu passthru doc

add "i915.modeset=0" in kernel cmd line parameter for
allowing users to access a Ubuntu desktop.

Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
This commit is contained in:
Kunhui-Li 2022-07-08 21:08:53 +08:00 committed by David Kinder
parent 39626609d0
commit 69e1ec970c
3 changed files with 23 additions and 0 deletions

View File

@ -61,6 +61,16 @@ The example extends the information provided in the :ref:`gsg`.
#. In the ACRN Configurator, create a shared scenario with a Service VM and one #. In the ACRN Configurator, create a shared scenario with a Service VM and one
post-launched User VM. post-launched User VM.
#. Select the Service VM and go to **Basic Parameters > Kernel
command-line parameters**.
#. Append ``i915.modeset=0`` in **Kernel command-line parameters** to disable the
GPU driver loading for Intel GPU device.
.. image:: images/kernel_cmd_line.png
:align: center
:class: drop-shadow
#. Select the post-launched User VM and go to **Basic Parameters > PCI #. Select the post-launched User VM and go to **Basic Parameters > PCI
devices**. devices**.

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -336,6 +336,19 @@ relevant for configuring or debugging ACRN-based systems.
hugepages=10 hugepages=10
hugepagesz=1G hugepagesz=1G
* - ``i915.modeset``
- Service VM
- GPU driver loading option.
``0``:
Disable the GPU driver loading for Intel GPU device.
``1``:
Enable the GPU driver loading for Intel GPU device.
- ::
i915.modeset=0
.. note:: The ``hugepages`` and ``hugepagesz`` parameters are automatically .. note:: The ``hugepages`` and ``hugepagesz`` parameters are automatically
taken care of by the ACRN Configurator tool. If users have customized taken care of by the ACRN Configurator tool. If users have customized
hugepage settings to satisfy their particular workloads in the Service VM, hugepage settings to satisfy their particular workloads in the Service VM,