PD#SWPL-211171
Problem:
need add tt cpu voltage for slt yield
Solution:
add tt2 cpu pdvfs table
Verify:
s6
Change-Id: I9d1b18488976a8192ddb9908ec2db07ca782bb68
Signed-off-by: gongwei.chen <gongwei.chen@amlogic.com>
PD#SWPL-205748
Problem:
kernel support new raman_ai board
Solution:
add new board for sei raman_ai
Verify:
Verify by raman_ai
Change-Id: I202114c2b4d895948819e7a57233b7d360e8cab4
Signed-off-by: yidong zhang <yidong.zhang@amlogic.com>
Signed-off-by: gongwei.chen <gongwei.chen@amlogic.com>
PD#SWPL-156790
PD#SWPL-156791
Problem:
Hdmitx is a notify server, it should
notify hpd event unconditionally.
For clients which want to know hpd/edid
change of hdmitx side, need to register
notify callback of hdmitx server.
For clients which don't want to know
hpd/edid change of hdmitx side, it
should not register notify callback of
hdmitx server, or it register notify
callback but ignore HPD/EDID info
Solution:
always notify hpd event to clients unconditionally
Verify:
an400
Test:
DRM-TX-80
Change-Id: I074d32c099325412f39e7667088384967532dba3
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
This patch is to prevent printing annoying kernel log '...could not find
display-timings node...' when a device tree does not contain the node.
drivers/video/of_display_timing.c:
struct display_timings *of_get_display_timings(const struct device_node *np)
{
...
timings_np = of_get_child_by_name(np, "display-timings");
if (!timings_np) {
pr_err("%pOF: could not find display-timings node\n", np);
return NULL;
}
}
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I2a034e83461f1be6831d8d89e923e376e6fe51ee
This patch is to set the default display mode within probed display
modes by given kernel parameter as
aml_drm.displaymode=<MODENAME>[:force]
where, MODENAME is the name of display mode and optionally ':force' can
be added in order to ignore the rest display modes so one display mode
is present in the system.
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I8d9fdf8d1f35c415e95a91dbc75a64f9712545ad
This patch is to add HDMI custom video timing and enforce the use of it no
matter whether EDID from the HDMI display is provided or not.
The custom video mode must be passed via Linux kernel command line in
the form of this;
aml_drm.modeline=<NAME>,<PCLK>,<H-TIMING>,<V-TIMING>[,HSYNC][,VSYNC][,SCANMODE]
where,
NAME : the video timing name and must not contain 'space'
PCLK : the pixel clock in MHz
H-TIMING : the horizontal video timing
<h-width>,<h-sync-start>,<h-sync-end>,<h-total>
V-TIMING : the vertical video timing
<v-widtv>,<v-sync-start>,<v-sync-end>,<v-total>
HSYNC/VSYNC : polarity of H-Sync and V-Sync,
* +HSync
* -HSync (default)
* +VSync
* -VSync (default)
SCANMODE : video scan mode string
* Progressive (default)
* Interlaced
HSYNC/VSYNC/SCANMODE are not case sensitive and the default value will
be applied when omitted
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I68d331becbea63792f933bb190a634d34ce709c3
PD#SWPL-197049
Problem:
The hdmitx_edid_parse.c of kernel 5.15 and kernel 6.12 need to be the same
Solution:
sync hdmitx_edid_parse.c from kernel 6.12 to kernel 5.15
Verify:
S905Y5-BH201
Test:
DRM-TX-78
Change-Id: I27a6f624df64450111f9a764659985305d13d425
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
This patch adds to Wake On Lan with an extern ethernet phy and the wake
up is triggered through a GPIO pin. GPIOH_10 on ODROID-C5 is connected
to #INT of RTL8211F.
The method to enable WOL in generic Linux:
$ sudo ethtool -s eth0 wol ug
$ sudo systemctl suspend
The Amlogic's method is:
$ echo 1 | sudo tee /sys/class/ethernet/wol
$ sudo systemctl suspend
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I6032f8ff20be83ab1846580c854824014b957470
PD#SWPL-177668
Problem:
There is an error in SARADC sampling.
Solution:
Use software to calculate average.
Verify:
S6/BL201 S7D/BM201
Change-Id: I390c39bf2160d6609a2556eb259c6d4d810dc3f2
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
vdin1 node is removed in this commit :
[fb2690f09 ODROID-C5: arm64/dts: Removed unused nodes.]
However, this node is required to support screen capture using
/dev/video12 node which is related with amlvideo2 driver.
Without this, driver couldn't acquire the memory space to store frame data,
and it returns EBUSY error when VIDIOC_STREAMON is performed by ioctl.
Signed-off-by: phillip.choi <phillip.choi@hardkernel.com>
Change-Id: Ica2e8676e54982f01610505b8d06d0a23eb03db8
We fixed this properties to make android 4K UI.
ro.surface_flinger.max_graphics_width=3840
ro.surface_flinger.max_graphics_height=2160
It causes an error.
aml_cma_alloc: heap-fb: alloc failed, req-size: 8227 pages, ret: -12
Increasing the size of dmaheap_fb_reserved by 2x will solve error.
Change-Id: I7466795d15afc84f001ac89fbcda89311f2df6f9