This patch adds support of vendor sub directories for dtb files.
Subdirectories can be specified in $(dts-dirs). Kbuild traverses over
all directories while building and installing dtb files. The directory
tree is also reflected in the install path.
Change-Id: Iab8d4cf4b76f7122892e87137fd0ec60565e1db0
Tested-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This adds the dtbs_install make target to arm64. The target has been
introduced already to arch/arm with the following commit:
f4d4ffc03e kbuild: dtbs_install: new make target
Implementation for arm64 is the same as for arm.
With 'dtbs_install' all config enabled dtb files are installed to
either the INSTALL_DTBS_PATH directory or the default location:
$INSTALL_PATH/dtbs/$KERNELRELEASE
Change-Id: I5605ea7d723e2a658f7d85177d1221b83d612bcb
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
PD#OTT-4872
Problem:
Unbound kstrdup and Potential Null Dereference.
Solution:
Add a judgment on the return value and the null pointer.
Verify:
on u212
Change-Id: I1e493c8125e08d4a6fb9fb46f28309eba6f0e47b
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-9350
Problem:
For output with compressed and uncompressed formats,
ppmgr recognizes the compressed format and returns directly.
Solution:
add compatibility with doublewrite.
Verify:
on u212
Change-Id: I9fffa720deee80b5db4ef21086c4638a630f9a80
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-9350
Problem:
Interlaced video only shows half.
Solution:
Interlaced video height is divided by 2.
Verify:
on U212
Change-Id: I983e3369687eeb55f03d3e7f8474b9e37549440f
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-9350
Problem:
ppmgr not support vf with phy_addr.
Solution:
config canvas
Verify:
on U212
Change-Id: I96629ed6287edaf4e7d7a2673ff604e99e3b12df
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-9350
Problem:
freeze frame fail among two vertical videos switching.
Solution:
add keep last frame in ppmgr
Verify:
on U212
Change-Id: I7192c69725ce08a546af3f2252e743224ad19ec3
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-9350
Problem:
Low probability of system crash when play live channel
Solution:
Increase the value of stats_get to protect tb_task.
Verify:
on U212
Change-Id: I4a13a3f7f2a4259fc8d4dd6630dd28d82a8c2541
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-9350
Problem:
After the HDR video is played, play normal video,
and the display is abnormal.
Solution:
Signal_type and bitdepth need to be reassigned.
Verify:
on U212
Change-Id: Ie2acddff3be34e01062a69d48bf4e82619559fb9
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-9350
Problem:
HDMI connection vertical screen, 1080i signal picture jitter.
Solution:
The interlace source is extracted based on the top and bottom values.
Verify:
on U212
Change-Id: I38f91fda32d1275dcc286fbb33034b4fd099e18f
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-9350
Problem:
ppmgr does not support 10bit to cause a rotating screen.
Solution:
add vdin support 10bit.
Verify:
on U212
Change-Id: Idbe90f7e351edbc12e0e2d905f06e0cdd18da148
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-8658
Problem:
handle is NULL cause kernel panic.
Solution:
Add IS_ERR_OR_NULL to prevent hanle from being NULL
to cause kernel panic.
Verify:
on T962X2
Change-Id: I3086a497d99646e6475a93b5a53b3c9aca2d2ada
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-6557
Problem:
The cut table caused a crash.
Solution:
modify dma flag
Verify:
on X301
Change-Id: Ic0ced1f4934d1125c56a79d1e102de9d2e02a528
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-14964
Problem:
the screen color will abnormal after open cm_en
Solution:
adjust am_en status according to chip ID
Verify:
on newton
Change-Id: I8619dc4119c4d6c7e5a2d8f2985bbd508c7f94d7
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
PD#TV-8363
Problem:
Loopback doesn't work on TM2.
TL1 doesn't support loopback in OE pins.
Solution:
Make it compitable with chips.
Add tdm_lb format and chmasks.
Verify:
TM2 AB311 and TL1 X301.
Change-Id: If878fe75fc87857eae7a44439a451c5b2f494c67
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-15422
Problem:
Play video without HDMI connection, no sound output
Solution:
no_mclk for amp
Verify:
Verify by Android P w400
Change-Id: Ic95a1e28f8ccbf6e3ba4a21f7d7b329f5854ea49
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
PD#SWPL-15422
Problem:
Play video without HDMI connection, no sound output
Solution:
no_mclk for amp
Verify:
Verify by Android P w400
Change-Id: Ic95a1e28f8ccbf6e3ba4a21f7d7b329f5854ea49
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
PD#SWPL-14801
Problem:
Sharp/LCD-42GX50A TV will be black when it receives vendor_name
but without product_desc in SPD infoframe
Solution:
Add missing 'product_desc' in SPD infoframe
Verify:
G12A/U212
Change-Id: I630fa416580855883a80be2747d39887ef67ef5c
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-14963
Problem:
The position bits of super scaler is incorrect.
Solution:
Set the position bits correctly
Verify:
Verified on U212
Change-Id: I133662859456f65e130b8795f574da845039c717
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#TV-7673
Problem:
SR0 register enabled the latch function, it will cause
frame size setting out of sync when bypass sr0.
Solution:
Disable the latch option.
Verify:
Verified with X301
Change-Id: Ibfc4c5f8f695757ddd7d7d9e50e4b5be23268388
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#OTT-5276
Problem:
CTS EncodeDecodeTest failed. Ion sync ioctrl was
forwarded to a dummy implementation. So cached dma buffer
syncing between device and driver was inconsistent occasionally.
Solution:
Changed the dummy_dma_ops to swiotbl_dma_ops when ion_sync_for_device
Verify:
franklin, hertz
Change-Id: I16863bba6c3fe16b9c3b2b410ade6e45c9e74826
Signed-off-by: baocheng sun <baocheng.sun@amlogic.com>
PD#TV-9856
Problem:
need change display driver for cool boot to enter
kernel stage freeze mode
Solution:
add lcd_panel_ctrl to control lcd display
Verify:
t962x2-x301
Change-Id: I8b58ab0a0f87c49791af7dddf7b05db37f7ad716
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-4097
Problem:
add lcd_ctrl bootargs for lcd driver control
Solution:
add lcd_ctrl bootargs for lcd driver advance control
and debug function in kernel
Verify:
verify by t962x2-r311
Change-Id: I4d741eef42505e259b54cd4f00e395d09edf7604
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
PD#SWPL-3826
Problem:
use gp1 pll for cpufreq.
Solution:
use gp1 pll for cpufreq.
Verify:
x301_tl1
Change-Id: Iefb6d31ec40ba304f41024e4b7adceec881d043e
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-11796
Problem:
update cpu clk after adjust cpufeq
Solution:
update cpu clk after adjust cpufeq
Verify:
test pass on g12b_w400
Change-Id: I5e4593e4b65de5f7536ddde793d682cc67df0e64
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-15024
Problem:
A311D w400 has only hdmi output by default, panel has no output
Solution:
modify clk
Verify:
Verify by Android P w400
Change-Id: I90d2defc509de2e559bb1ae1f4fcbcf38012b93c
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
PD#OTT-6369
Problem:
The HPD low time of some Monitor(such as LG) is about 30ms, less than 100ms
Solution:
Reduce the delay time of plugout
Verify:
G12A/U212
Change-Id: I343223b5ef0696da035f0b3b179bdbfbce68c859
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>