summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2018-10-02 17:29:07 -0700
committerDmitry Shmidt <dimitrysh@google.com>2018-10-03 09:39:45 -0700
commita6bb66b87c538a60067c7b37cdfa044d55dba347 (patch)
tree53ceaac38fac0d1ff971bd16a8b8c879b8776db8
parent4918df198178c9c8fca3458321a1493f14274435 (diff)
downloadhikey-a6bb66b87c538a60067c7b37cdfa044d55dba347.tar.gz
hikey960: Add build option TARGET_BUILTIN_EDID
If set to true, kernel will use builtin EDID for 1920x1080 display Bug: 117215508 Test: Manual Change-Id: Ie76e4b0d75f5ec8a4b6f3b8c71b4328865fd487e Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--hikey960/BoardConfig.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/hikey960/BoardConfig.mk b/hikey960/BoardConfig.mk
index a670f4f9..49fd4e06 100644
--- a/hikey960/BoardConfig.mk
+++ b/hikey960/BoardConfig.mk
@@ -11,6 +11,10 @@ TARGET_NO_DTIMAGE := false
BOARD_KERNEL_CMDLINE := androidboot.hardware=hikey960 console=ttyFIQ0 androidboot.console=ttyFIQ0
BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware loglevel=15 efi=noruntime
+ifeq ($(TARGET_BUILTIN_EDID), true)
+BOARD_KERNEL_CMDLINE += drm_kms_helper.edid_firmware=edid/1920x1080.bin
+endif
+
ifneq ($(TARGET_ANDROID_VERITY),)
# Enable dtb fstab for treble, with verity and system-as-root
# NOTE: Disabled by default until b/111829702 is fixed