mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 12:42:54 +00:00
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:
parent
39626609d0
commit
69e1ec970c
@ -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**.
|
||||||
|
|
||||||
|
BIN
doc/tutorials/images/kernel_cmd_line.png
Normal file
BIN
doc/tutorials/images/kernel_cmd_line.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user