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>
diff --git a/hikey960/BoardConfig.mk b/hikey960/BoardConfig.mk
index a670f4f..49fd4e0 100644
--- a/hikey960/BoardConfig.mk
+++ b/hikey960/BoardConfig.mk
@@ -11,6 +11,10 @@
 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