tizen: amlogic: Add hdmimode env variable
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 2 Dec 2020 15:32:54 +0000 (16:32 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 16 Nov 2021 10:04:04 +0000 (11:04 +0100)
The hdmimode variable set to "1080p60hz" value allows the HDMI driver
to switch to default full HD timings for QHD/UHD monitors and such
monitors can still be used in lower resolution mode.
This a workaround until proper support for QHD/UHD is implemented
in the VPU driver.
The new variable is also used in kernel bootargs.

Change-Id: Ib1b58ee9173fa380c1c79bf819b0ffaca1a6aab9
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
include/samsung/tizen_amlogic.h
tizen/bootscript/tizen-boot-amlogic-64b.scr

index f4a4e6c..300a526 100644 (file)
        "splashimage=0x2000000\0"               \
        "splashsource=mmc_fs\0"                 \
        "splashfile=tizen_logo.bmp.gz\0"        \
-       "splashpos=m,m\0"
+       "splashpos=m,m\0"                       \
+       "hdmimode=1080p60hz\0"
 
 #define CONFIG_TIZEN
 
index aaa5d16..e10732b 100644 (file)
@@ -88,7 +88,7 @@ echo "console: ${console}"
 kernel=Image.gz
 
 # To use comdline for using serial console. /* Normal mode */
-setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs voutmode=${voutmode} ${cmode} usb-xhci.tablesize=2 logo=osd0,loaded ${console} ${boot_args}\"
+setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=${hdmimode} cvbsmode=576cvbs voutmode=${voutmode} ${cmode} usb-xhci.tablesize=2 logo=osd0,loaded ${console} ${boot_args}\"
 
 # Find the ramdisk offset and block count
 part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start