blob: 51d0ed1571c740cf78a912ca6647f840ea92959e [file] [log] [blame]
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# All kernel command line changes must update the security base lines in
# the signer. It rejects any settings it does not recognize and breaks the
# build. So any modify_kernel_command_line() function change here needs to be
# reflected in ensure_secure_kernelparams.config.
# See as an example.
modify_kernel_command_line() {
# Don't disable the ability to run VMs.
echo "disablevmx=off" >> "$1"
# Enable GuC/HuC
echo "i915.enable_guc_loading=1" >> "$1"
echo "i915.enable_guc_submission=0" >> "$1"