Add a new flag for system heap to allocat pages in normal zone.
Change-Id: I851b7fa412c181a6c3222aeadffddc84aba74c1e
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
1. add 2lane support
2. add some debug info
3. adjust gc8034_g_mbus_config function
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I7f40c2c9ce0aea543ea629efb46585ebee387515
1. adjust power on/off sequence
2. add some debug info
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I6d7e1b56b136d6132b9a25a84eb3ebc01bafc678
Since the cma reserved start from 0x10000000, size 0x00800000,
so fix the eink reserved default start from 0x10800000
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Iff6933137e77ac678bb7dd815968a9d447476623
1.add auto_cur_image buf to save cur osd buf, improve osd buf display
when auto_bg_image update
2.remove rw lock to improve osd display speed
3.protect osd buf when change mode from overlay to normal mode
4.pvi_waveform: support du4 parse
5.rkf_waveform: support lut table improve
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Idc5f7a260eb3542e21bd984b4f8bc613a282092b
tips: In the whole process, task is the unit, and it can only be
one state. And mem_region is an internal element, so no lock is
required.
Change-Id: I07955d0d7064c3c6aec6968d0d38d6e0ad378289
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
1.The hpd effective level can be configured to be inverted, when the hpd
output circuit is reversed.
2.Insertion detection adds debounce operation.
3.Lock the configuration operation of hdmirx phy and controller to
prevent re-entry during hot swap and resolution switching. Used to solve
the problem of abnormal images when hot plugging.
4.Increase the recovery mechanism when the insertion is not detected
correctly.
5.Fix the issue that csitx may cause the image to shift left or right or
shift up or down.
6.Add PDEC interrupt for judging that the image format is correctly
detected.
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I3cf70b626ac4dbbffb990a370d0ea7e903fb79de
1. mcu-log-size means the total buffer size for mcu
2. mcu-log-count means the count of mcu on the soc
3. every mcu has log buffer size that is mcu-log-size/mcu-log-count
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: Iec1887ddfd13f956cd27fd07398edb845fc01f85
we must make sure the port_mux configuration is take effet
before configure a window that is moved from another VP.
Change-Id: I4ca581292e08ef30cc4b6eb47aef02e678f38a66
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
There is a deadlock when the reply of FUSE_CANONICAL_PATH from user-
space client, because the kern_path function will issue a new request
and wait the respond from client which has been in wait state. The ba-
cktrace is like this:
<6>[ 518.977731] ntfs-3g S 0 2138 1 0x04000000
<4>[ 518.977745] Call trace:
<4>[ 518.977757] __switch_to+0x130/0x13c
<4>[ 518.977767] __schedule+0x740/0x964
<4>[ 518.977777] schedule+0x70/0x90
<4>[ 518.977794] __fuse_request_send+0x1a0/0x340
<4>[ 518.977808] fuse_simple_request+0x178/0x1c8
<4>[ 518.977818] fuse_lookup_name+0xfc/0x220
<4>[ 518.977829] fuse_lookup+0x48/0x134
<4>[ 518.977842] __lookup_slow+0xc8/0x154
<4>[ 518.977853] walk_component+0x1c0/0x728
<4>[ 518.977863] path_lookupat+0xa8/0x208
<4>[ 518.977875] filename_lookup+0x8c/0x190
<4>[ 518.977887] kern_path+0x30/0x3c
<4>[ 518.977901] fuse_dev_do_write+0x79c/0x114c
<4>[ 518.977914] fuse_dev_write+0x60/0x84
<4>[ 518.977928] do_iter_readv_writev+0x11c/0x158
<4>[ 518.977941] do_iter_write+0x7c/0x1b8
<4>[ 518.977953] vfs_writev+0x84/0xe8
<4>[ 518.977966] do_writev+0x78/0x114
<4>[ 518.977979] __arm64_sys_writev+0x1c/0x24
<4>[ 518.977992] el0_svc_common+0x98/0x160
<4>[ 518.978005] el0_svc_handler+0x5c/0x64
<4>[ 518.978015] el0_svc+0x8/0xc
Fixes: fa199896a3 ("ANDROID: fuse: Add support for d_canonical_path")
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
Change-Id: I13487e5c956c4537c2554a44208d6664653ef4f1
Since the optee reserved start from 132M to about 16M, so fix the cma
default start from 256MB.
Change-Id: Ia6a0dd5922d2b308bc107e057fab967cdb7d0ab2
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
some platform have two same connector(HDMI/EDP/DP/DSI...), we add this
connector id to identify them, this info will be used by uboot, kernel and
other userapces.
Change-Id: If34bb99da1132703b8b19276ce63073dc57b130a
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
port_mux register is shared by all the three(four on rk3588)
video ports, and the config done vsync is controlled by
layer_sel_regdone_sel bits.
We must make sure the previous configuration is take
effect, when change port_mux for another vp.
Change-Id: Ic4bd58f52760080f2f264f37cc6f01a9cd58939f
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
There maybe a case a new wb commit is commit when
the last wb has not completed, this may override
the fs_vsync_cnt.
So counter vsync for every wb job independently.
Change-Id: I8e8c527a49252dcc4b0b1ff591523de5a33ae5ba
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>