diff --git a/doc/tutorials/gpu-passthru.rst b/doc/tutorials/gpu-passthru.rst index e7e00fdef..8ddeba946 100644 --- a/doc/tutorials/gpu-passthru.rst +++ b/doc/tutorials/gpu-passthru.rst @@ -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 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 devices**. diff --git a/doc/tutorials/images/kernel_cmd_line.png b/doc/tutorials/images/kernel_cmd_line.png new file mode 100644 index 000000000..6b2f90840 Binary files /dev/null and b/doc/tutorials/images/kernel_cmd_line.png differ diff --git a/doc/user-guides/kernel-parameters.rst b/doc/user-guides/kernel-parameters.rst index 64a6a98fe..5358a37d9 100644 --- a/doc/user-guides/kernel-parameters.rst +++ b/doc/user-guides/kernel-parameters.rst @@ -336,6 +336,19 @@ relevant for configuring or debugging ACRN-based systems. hugepages=10 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 taken care of by the ACRN Configurator tool. If users have customized hugepage settings to satisfy their particular workloads in the Service VM,