blob: 91ac89d29c4d0e7211c8f24a8df36a501cfc32a2 [file] [log] [blame]
# Copyright 2017 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"
CHROMEOS_KERNEL_SPLITCONFIG="chromeos-amd-stoneyridge"
CHROMEOS_KERNEL_ARCH="x86_64"
USE="${USE} kernel-4_14"
# 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"
# Turn on the video cards this chip uses.
# TODO: Remove radeon when amdgpu works by itself
VIDEO_CARDS="-* radeon amdgpu"
USE="${USE} android_aep"