PD#SWPL-142329
Problem:
restore factory settings,display no signal and can't boot
due to the recovery not have composer to set attr
Solution:
1.initialize the property of attr based on the value in uboot
2.decide attr in the recovery system
Verify:
sc2
Test:
DRM-OSD-121
Change-Id: Idff17ffcfcc04fac1c3353b3c8fcc2f152a51463
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-142750
Problem:
After setting dv_ll, it will change
to dv_std in case of hotplug event.
Solution:
If the dv_ll is set,the dv will
remain after hotplug.
Verify:
sc2
Test:
DRM-OSD-118
Change-Id: I7335c512dc6cafa836bc0496537ad9481c18da74
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-141929
Problem:
some display server will not set color space/color depth property.
it may lead to modesetting fail
Solution:
hdmitx connector add strategy to select cs/cd/vic group
Verify:
an400
Test:
DRM-TX-24
Change-Id: If3dedb74163101e2d0ef403933e484a90e9464e9
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-141895
Problem:
Plug and unplug the HDMI cable,hdmitx output SDR due to
the smaller bit of attr than the value of max_bpc
Solution:
Remove the judgment of max_bpc because hdmitx does not
rely on max_bpc
Verify:
sc2
Test:
DRM-TX-44
Change-Id: I19b03302adb0dc5b3ffd1a0c3bec5c9a1190fb20
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-143050
Problem:
no drm state sysfs node
Solution:
use drm_print to add state in drm sysfs
Verify:
ohm
Test:
DRM-OSD-112
Change-Id: Iafbaa10dd7c17b9a244654948478f588c63caae9
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-131769
Problem:
VPP_POSTBLEND and scope corresponds to their
respective OSD, not din
Solution:
configure the postblend and scope corresponding to osd
Verify:
txhd2
Test:
DRM-OSD-82
Change-Id: I7ead010d7768e96d23afb3ead748178ced6b148c
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-142076
Problem:
hwc can't get hdmitx status
Solution:
add ready property to indicate hdmitx status
Verify:
ohm
Test:
DRM-TX-24
Change-Id: Iffa26048f0d910c614ec901e1dcff48dc189a090
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-141450
Problem:
premult will effect when format is rgbx
Solution:
premult will not effect for rgbx format
Verify:
sc2
Test:
DRM-OSD-107
Change-Id: I4316b4d721241ffd6b2eb35479059f16efa013f7
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-139554
PD#SWPL-138558
Problem:
colorspace,colordepth,hdr_priority were controlled by sysfs node
hdr_priority definition was changed
Solution:
change colorspace,colordepth,hdr_priority control method to drm
add new hdr_priority definition to support multi strategy
update the RX hdr/hdr10+/dv capabilities in the end of EDID parse
Verify:
ohm
Test:
DRM-TX-40
Change-Id: Id9989d542ac780e358263ace67e7f13370498285
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-104009
Problem:
drm hdmitx call hook interface
Solution:
use common api to replace hook interface
Verify:
ohm
Test:
DRM-TX-37
Change-Id: Ia29c7f9d6aea9b358053460cdbc6ab99738c984e
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-137140
Problem:
cur_VIC is not needed
hdmitx20 and hdmitx21 has the same vout api
Solution:
remove cur_VIC and move vout server to hdmitx common
remove pr_fmt
Verify:
ohm
Test:
DRM-TX-33
Change-Id: I981a7769fe1f9f6f562f1814cf19cd5f57535fdc
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-104015
Problem:
tx20/tx21 have similar functions for
sysfs and hwop.
Solution:
move to hdmitx_hw_common and hdmitx_sysfs_common
Verify:
ohm/t7
Test:
DRM-TX-36
Change-Id: I0638bfe263c07589716da467f251a279582bcda6
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-104011
Problem:
hdev has some hw related members and
hdev is still be used in hdmitx_hw level.
Solution:
abstract tx20_hw/tx21_hw
Verify:
verify on ohm/t7
Test:
DRM-TX-33
Change-Id: Ic0e3867af7894fcdcd50a3a4fe234156e2ef821d
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-139621
PD#SWPL-140886
PD#SWPL-140919
PD#SWPL-140930
Problem:
1 current vout notify was sended before timing setting
2 hdmitx null string panic when do strstr
3 viu mux register was not updated correctly due to no vinfo updating
Solution:
1 adjust the timing setting and vout notify sequence
2 add null string check before do strstr
3 do vinfo update in validate_vmode stage
Verify:
ohm
Test:
DRM-OSD-105
Change-Id: Iec0f9dfdf194f58684893a11b3bc139f2914e243
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-139383
Problem:
OSD2_BLEND_SRC_CTRL operated by both drm and video simultaneously
Solution:
remove OSD2_BLEND_SRC_CTRL operation in drm side
Verify:
txhd2
Test:
DRM-OSD-101
Change-Id: I3ba526054e38d1feb04b5d29c85bb92d1ab450a8
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-138138
Problem:
Black screen when enter reboot recovery
Solution:
set correct display mode in recovery
Verify:
S905X4-AH212
Test:
DRM-OSD-96
Change-Id: I1be0b8385037c506e2bdc270dd4665901ae11be8
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
PD#SWPL-127712
Problem:
it nonblock and block commit come in at the same time,
there will be commit re-enter error information
Solution:
add mutext to flushing per crtc commit state Serially
Verify:
SC2 T7c
Test:
DRM-OSD-90
Change-Id: Ib2f57d1f183ae42e30ebdea6c673b91106ab299f
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-137549
Problem:
when hwc set 720p, but hdmitx was disconnected.
crtc atomic disable already disable vsync irq
crtc atomic enable do nothing, so flip_done timed out happened
Solution:
check hdmitx connect status when call hdmitx mode set
if hdmitx wss disconnected, fallback to dummy_l again
Verify:
ohm
Test:
DRM-OSD-95
Change-Id: Ibcd2a9d281815591ffb907e6e6600a0cef2b5756
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-132763
Problem:
it is not reasonable to put hdr conversion cap
property into connector struct,the property
cannot be found when disconnected
Solution:
move hdr conversion cap property to crtc struct
Verify:
verify hdr conversion cap
Test:
DRM-OSD-91
Change-Id: I9a1c3fb9b3c0a8d43d9140a018be641153e2f3c2
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-136790
Problem:
implicit declaration of function 'meson_crtc_debugfs_late_init'
when disable CONFIG_DEBUG_FS
Solution:
implement the interface depend on CONFIG_DEBUG_FS
Verify:
ohm
Test:
DRM-OSD-89
Change-Id: I9ad2502df016fe1e37c161c907d8cdad1f2ec9e4
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-116914
Problem:
single osd3 cannot display
Solution:
select osdblend din by osd zorder and crtc index
Verify:
t3x-bc302
Test:
DRM-OSD-53
Change-Id: I427bf68fc3d40aabf2daa82b744093bcaf04137d
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
PD#SWPL-131945
Problem:
android R need build user
fix DEBUG_FS use error
Solution:
disabled DEBUG_FS config when build user
Verify:
local
Test:
zcat /proc/config.gz |grep CONFIG_DEBUG_FS
Change-Id: I274d7e29d3c20a9b6f03bc306f8c9fa185b963c5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-132192
Problem:
In tx20, still use y420 vic for 4k 420 modes.
It is not necessary to add new vics for such cases.
Solution:
Remove y420 modes, use para.cs + vic instead.
Verify:
verify on ohm.
Test:
DRM-TX-26, DRM-TX-8
Change-Id: Icf91c77b7134df548f29ef03afa6ec34f8b27a24
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-133824
Problem:
1.yres parameter is inconsistent between FBIOPUT_VSCREENINFO
and FBIOGET_VSCREENINFO
2.smem_len is changing
Solution:
keep on var parameters and fix smem_len
Verify:
S4
Test:
DRM-OSD-88
Change-Id: If42acf8d90d57e4f0643f76d0cfed928afd5d569
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>