tizen: amlogic: Add hdmimode env variable
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 2 Dec 2020 15:32:54 +0000 (16:32 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 28 Oct 2024 11:28:01 +0000 (20:28 +0900)
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 af68c0d5c656417115b5953014445a274a876ace..6787df607035eed76b30887eec9f5140c7537819 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 aaa5d16fdb425fed223178409674e37ff40e8252..e10732b386689e6716eda029da979db2a2a15707 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