PD#SWPL-170918
PD#SWPL-161717
Problem:
Sink may support only 4k120, but its QMS range may be from
24 to 120.
Or sink may support upto 4k60, but 1080p120hz.
Solution:
Add the qms/game vrr range and vic lists to DRM group
Don't clear the EDID when forced_edid is true
Skip BRR 120 check when QMS tfr_max is false
Verify:
s7d/ross
Test:
DRM-TX-75
Change-Id: Ia65fa38bf18ae7399c9c4178665f8a3f18a03a74
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-170502
Problem:
During the switch to 444,8bit, drm will first set_nulldisp_vout_server,
and then disable hdmitx module. Since it is not currently hdmi_server,
callback send_drm_pkt cannot clear hdr pkt.
Solution:
Remove the is_cur_hdmi_mode judgment in the send_drm_pkt function,
and the hdr pkt can be cleared normally
Verify:
SC2
S5
Test:
DRM-TX-34,DRM-TX-78,DRM-TX-79,DRM-TX-80,DRM-TX-81
Change-Id: Ie85a6073c0c11a8100d344cefffecac613c82a22
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-166618
Problem:
connectors can not get connector type
Solution:
add connector type interface for connectors to get value
Verify:
t7c txhd2
Test:
DRM-OSD-44
Change-Id: Ic6fe152d419bc1a9381ada21dfa9a808e4e2c84c
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-172191
Problem:
[U] need add soundbar switch API on hdmi tx driver
Solution:
1.add sounbar_en node to control soundbar switch
write 1 is on, write 0 is off
2.if soundbar is on, not send hpd event to android
if soundbar is off, keep the original process
Verify:
T7
Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82,DRM-TX-122
Change-Id: I4d2c78064a3d158eca038cbbae945a8331dac76d
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-161628
Problem:
arm64 unable get _text and module_base parameters via find symbal.
Solution:
use long type to store pagetrace information.
Verify:
sc2.
Change-Id: Id52bed43bbeed50a6d8ef0e32a54c5d9d9eab331
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-164972
Problem:
1.The AMFC module is currently configured to always on.
In order to save power consumption, power can be
removed during suspend.
2.usb power domain naming is not standard
Solution:
1.Cancel the AMFC always on configuration.
2.Change the usb domain name
Verify:
S7D
Change-Id: Ib92ffee894f248f7edb2a358bddc548543c68719
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-170855
Problem:
When QMS is enabled, the BRR may 120hz. When switches to lower rate,
video player will run under lower rate and display abnormal.
Solution:
Add brr_duration and video still run BRR rate to avoid abnormal display.
Verify:
s7
Test:
DRM-TX-38
Change-Id: I03f3588f89648145ae06b66fe4db4bb9701559b3
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-168640
Problem:
The old descriptor chain will cause dun to not be updated.
Solution:
add sg-link descriptors.
Verify:
S7
Change-Id: I50ccca0f441c4df4945a350cfdf9779497d9bba5
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-160157
Problem:
add api to get input param for vpp when pre-link
Solution:
add api to get input param for vpp
Verify:
t5m
Change-Id: I5f1198c94dfc840f5024d1fdb61bda2f5c5e8f4e
Signed-off-by: rong.wang <rong.wang@amlogic.com>
PD#SWPL-164404
Problem:
Back permissions are not separated from
front permissions.
Solution:
Separate back's permissions from front
and control them separately
Verify:
s5
Change-Id: I9e6465d5b8b45143a51c440d1a24160ad80087fb
Signed-off-by: xing.xu <xing.xu@amlogic.com>
PD#SWPL-166960
Problem:
need inlinecrypt for emmc
Solution:
support inlinecrypt feature
Verify:
S7
Change-Id: I1d328d527a714b1f4661b0d0c328ecedec30d0d4
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-167292
Problem:
need cvbs video mute api for special test
Solution:
add cvbs video mute api for drm: call
cvbs_video_mute(true / false) to mute/unmute
CVBS video output, it will keep video mute
even set cvbs output again, until drm call unmute.
Verify:
s1a
Test:
CVBS video mute/unmute + hotplug hdmitx and check cvbs mute
Change-Id: I5f6d5c28596f0cdf26c9356a2500b1fe8fe43fd7
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-160150
Problem:
play HDR video under DV_STD, output as SDR
Solution:
auto change the color depth to support HDR under DV_STD
Verify:
SC2
S5
Test:
DRM-TX-90
Change-Id: Ifd830c91c68a600f5ac4c3b9e00b0709083b74e8
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-158050
Problem:
it will block suspend if send kobject uevent
when suspend
Solution:
not send uevent after suspend
Verify:
ohm
Test:
DRM-TX-105
Change-Id: I66f13e24076290f99defca8badb8d94d8b2e3e2a
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-163105
Problem:
new earc Rx design
Solution:
changelist from https://scgit.amlogic.com/#/c/417153
1. new default setting for arc in
2. remove pll refresh when startup
3. when cmdc init, need refresh pll after pll default setting
4. force channel sync for channel mapping
5. add dmac bit29 check for common arc check
6. add iec raw channel status check
7. use chip info(arc_ch_sync/arc_in_new)
Verify:
use s7d
Change-Id: Id681334bfde57bfe71a870a16859e24712e262e3
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-155395
Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.
Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.
Verify:
T5M-AY309
Change-Id: Idd1c47fd99505f3a159c86390c28303f5a5b60e9
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-155399
Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.
Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.
Verify:
S7-BH201
Change-Id: Ib548b4c0fc929b4bed788e9a350bd3791fd93f1a
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-163896
Problem:
1.need to clean out the power that
is always on to save power.
2.Some modules related to mempd have
been added for debugging later.
Solution:
1.Clean up an open power supply.
2.add power domain config.
Verify:
S7D
Change-Id: Ic313a24168041cb925483202bc26f9c53c6b1548
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-163059
Problem:
legacy ir controller was updated to multi-format ir controller
and each controller have a IRQ
Solution:
support 2 IRQs in ir driver
Verify:
s7d_bm201
Change-Id: I268562144440d642e4f635dbe76bb45f799d6bee
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-163760
Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.
Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.
Verify:
S7D-BM209
Change-Id: I285a300313c1439be2ed50fafc58c4a92fa032ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-163061
Problem:
If there are more requirements of mailbox channels
application for other modules, mailbox driver should
be changed to add more channels, this is inconvenient
for other drivers usage
Solution:
Allocate more reserved mailbox channels for other
modules application in the future
Verify:
S7D-BM209
Change-Id: I669d42aa386676d959e27ebb51c6d7dedd7d54ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-163077
Problem:
Some new power domains have been added.
Solution:
Add the relevant configuration.
Verify:
S7D
Change-Id: I7f5bc148d0034ffad96b1f04f00417ec5796dced
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-158288
Problem:
1 Adding the logic associated with the en0p5 member makes the driver's
processing more complicated and messy.
2 Added clocks with security permissions.
Solution:
1 Only add CLK_MESON_PLL_FIXED_EN0P5 flag to implement the functions
of en0p5, so that the driver change cost is minimal.
2 Determine whether to add the CLK_MESON_PLL_FIXED_EN0P5 flag based
on whether en0p5 is enabled in init_regs.
3 Added scmi clocks
Verify:
pxp
Change-Id: I2f9e258569f4bed44cb5fd9b57368dbfa3c425cb
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-154090
Problem:
The S7D and S7 power domain names overlap
and need to be repaired.
Solution:
modify config.
Verify:
Compile through.
Change-Id: Ia0d18a5a2684184b8c5938c77b8b7adccd8b0ad6
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-146595
Problem:
S7D need power domain in kernel.
Solution:
add power domain in kernel.
Verify:
pxp
Change-Id: Ia05ec9960f38388444ae14869576f8cd1d51cf78
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-156902
Problem:
hwc need get lcd connector's vrr range info
Solution:
add get_vrr_range function for lcd connector
Verify:
t3x
Test:
DRM-LCD-1
Change-Id: I02a58d23794c58b7cbc416f8ff5d692e814c3084
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-163844
Problem:
switch to 59.94hz, not set 60hz mode when qms enable
because frac mode
Solution:
set frac 0 when brr mode
Verify:
s7d
Test:
DRM-TX-75
Change-Id: I69fc38ffee456d2a917f586e7ed04dad3aa8a22d
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
PD#SWPL-151540
Problem:
kasan failed
cat/echo sysfs osd node crash in s5
cat fbdump return zero size file in s5
Solution:
reset BLOCK_ID_MAX with 32
sysfs node should according to vpu block by index
set correct plane index
Verify:
s5, t5m
Test:
DRM-OSD-17
Change-Id: I02094c9044b172af46ab9b5bd5688a12f18ce96a
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
PD#SWPL-158042
Problem:
drm module automic-check and automic-enable use differnet hpd status
information when hdmitx hotplug
Solution:
[hpd] add system timein hdmitx state
Verify:
S5/SC2
Test:
DRM-TX-103
Change-Id: Id0f37cf01c5266a720f2881ee8cd9fab274b79b9
Signed-off-by: yahui.liu <yahui.liu@amlogic.com>