blob: be7d3055afc727dea7c6cfb07f9f6a1dbd16d268 [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.
BOARD_COMPILER_FLAGS="-march=bdver4 -mno-fma4 -mno-tbm -mno-xop -mno-lwp"
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"
# Enable Android Extension Pack for amd-mesa
USE="${USE} android_aep"
# Artifacts when using VaapiVideoDecoder.
# TODO(b/159725470) Re-enable VaapiVideoDecoder after addressing issues.
USE="${USE} disable_cros_video_decoder"