blob: 06586436d7f9e76e6b2f1f39253284b2c3b30882 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# Initial value just for style purposes.
LINUX_FIRMWARE=""
USE=""
BOARD_COMPILER_FLAGS="-march=bdver4 -mno-fma4 -mno-tbm -mno-xop -mno-lwp"
CHROMEOS_KERNEL_SPLITCONFIG="chromeos-amd-stoneyridge"
CHROMEOS_KERNEL_ARCH="x86_64"
USE="${USE} kernel-5_4"
# Disable ACPI AC device and use USB PD power supply driver
USE="${USE} -acpi_ac"
# Don't build in the Intel MRC
USE="${USE} amd_cpu"
# GPU sandboxing needs to be started early as GPU process spawns
# multiple threads.
USE="${USE} gpu_sandbox_start_early"
# LLVM is required to build the radeon and amdgpu drivers.
USE="${USE} llvm"
# Enable native one-copy texture upload.
USE="${USE} native_gpu_memory_buffers"
# Enable drm atomic in chromium.
USE="${USE} drm_atomic"
# Enable SMT by default.
USE="${USE} scheduler_configuration_performance"
# TODO: Remove radeon when amdgpu works by itself
VIDEO_CARDS="-* radeon amdgpu"