Commit Graph

148 Commits

Author SHA1 Message Date
congyang.huang 70d570b590 drm: display no signal after factory reset [1/1]
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>
2023-11-17 20:01:51 +08:00
congyang.huang 4e92c6b4f1 drm: Add the saving strategy of dv [1/1]
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>
2023-11-06 17:32:53 +08:00
zongdong.jiao c79f4331b6 hdmitx21: add qms-vrr function [1/1]
PD#SWPL-137039

Problem:
Lack qms-vrr function

Solution:
Add qms-vrr function

Verify:
t7/an400

Test:
DRM-TX-17

Change-Id: I8aff33d9cf2db80c5b82310d8dd4531d5d32b288
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2023-11-03 19:56:05 +08:00
Ao Xu b81cd88c5c drm: hdmitx add cs/cd/vic strategy for some display server [1/1]
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>
2023-10-31 19:19:45 +08:00
yao zhang1 a24ea130f9 bootup: Optimize k5.15 boot log. [1/1]
PD#SWPL-142042

Problem:
Too many logs affect performance.

Solution:
Optimize boot log.

Verify:
sc2

Test:
DRM-OSD-2

Change-Id: I5a9435c350074206226a164fdf3f2eb64e4683a1
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-10-30 18:59:09 +08:00
congyang.huang 1d40f7656e drm: Remove the judgment of max_bpc [1/1]
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>
2023-10-27 15:09:44 +08:00
Ao Xu 83e3da7ae9 drm: use drm_print to add state in drm sysfs [1/1]
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>
2023-10-25 20:01:27 +08:00
congyang.huang 21d7d24039 drm: correct txhd2 drm postblend and keystone policy [1/1]
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>
2023-10-25 20:01:23 +08:00
Ao Xu 7bf0044535 drm: add ready property to indicate hdmitx status [1/1]
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>
2023-10-19 09:54:43 +08:00
wenlong.zhang ca6f47c505 drm: fix screen flicker when exiting BADLAND game to home UI [1/1]
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>
2023-10-18 14:53:16 +08:00
Ao Xu 87f71506f6 hdmitx: fix earc probe crash and no plugout uevent issue [1/1]
PD#SWPL-141704

Problem:
1 earc probe crash
hdmitx21_hpd_hw_op+0x14/0x80 [aml_media]
hdmitx21_earc_hpdst+0x28/0x48 [aml_media]
register_earcrx_callback+0x4c/0x60 [aml_media]
earc_platform_probe+0x628/0x9e0 [amlogic_snd_soc]
2 hdmitx21 did not call drm hpd callback

Solution:
1 separate hdmitx20 and hdmitx21 earc register api
2 call hpd callback when call plugout handler

Verify:
ac200/t7c/s1a

Test:
DRM-TX-41

Change-Id: I829da54849b152420de9409e42f46ae1016c22c5
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2023-10-13 19:24:47 +08:00
Jianxiong Pan 1f6599c5fd zapper: rename CONFIG_AMLOGIC_ZAPPER_CUT_C1A. [1/1]
PD#SWPL-140594

Problem:
rename CONFIG_AMLOGIC_ZAPPER_C1A.

Solution:
CONFIG_AMLOGIC_ZAPPER_CUT_C1A.

Verify:
build pass.

Test:
run on s1a board normally.

Change-Id: I3a8ab8d81af2c4d14b51c117ac16d75f3980adac
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-10-09 20:08:39 +08:00
Ao Xu 3ffbddd0c3 drm: change colorspace,colordepth,hdr_priority control method to drm [1/1]
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>
2023-10-09 20:07:03 +08:00
sky zhou 471f98c96f hdmitx: update header file folder [1/1]
PD#SWPL-104016

Problem:
internal members and functions exposed to
other module.

Solution:
move hdmi internal headers to source code folder.

Verify:
verify on ohm/t7

Test:
DRM-TX-38

Change-Id: Ie8307476ab811819c090b0afa7739a1cc6c90053
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
2023-10-07 19:28:53 +08:00
Ao Xu d58e63158e hdmitx: use common api to replace hook interface [1/1]
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>
2023-10-07 17:35:46 +08:00
Ao Xu daafadaf4f hdmitx: remove cur_VIC and move vout server to hdmitx common [1/1]
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>
2023-10-07 17:35:46 +08:00
sky zhou eb94c759b6 hdmitx: move common hwop and sysfs [1/1]
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>
2023-10-07 17:35:45 +08:00
sky zhou 37a6ed20eb hdmitx: abstract hpd common functions [1/1]
PD#SWPL-104026

Problem:
tx20/tx21 have separated hdp functions.

Solution:
abstract common hpd related functions.

Verify:
ohm/t7/s5

Test:
DRM-TX-35

Change-Id: I802a4cb96b6d52fb43e10dca752544d77cc238ee
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
2023-10-07 17:35:45 +08:00
sky zhou 7f080e96a3 hdmitx: add struct tx20_hw and tx21_hw [1/1]
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>
2023-10-07 17:35:44 +08:00
mingyang.he 56dc5afca1 drm: add ioctl MESON_RMFB [1/1]
PD#SWPL-139231

Problem:
buffer of stop frame can't remove

Solution:
add ioctl MESON_RMFB

Verify:
sc2

Test:
DRM-OSD-103

Change-Id: Ibd556f906bbe9d00d8f86713178f3cb57e535b8a
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-09-27 21:18:40 +08:00
congyang.huang 9890307604 drm: add mode and attr test ioctl [1/1]
PD#SWPL-118079

Problem:
no ioctl to test mode and attr

Solution:
add ioctl

Verify:
sc2

Test:
DRM-OSD-76

Change-Id: I39fa4f403d7302ca9af22c45389faf642735cdaa
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-09-27 21:18:19 +08:00
Ao Xu 4f3ed8a2a7 hdmitx: fix vout notify out of order and vinfo not update issue [1/1]
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>
2023-09-27 21:16:40 +08:00
mingyang.he 8c35408771 drm: transplant debugfs to sysfs for kernel 5.15 [1/1]
PD#SWPL-132596

Problem:
transplant debugfs to sysfs

Solution:
transplant debugfs to sysfs

Verify:
sc2

Test:
DRM-OSD-92

Change-Id: Ica1c2b5bcd0b10d2597683f1914bd5810931ac1e
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-09-27 21:15:25 +08:00
Pengcheng Chen 560f08e84f vpp: add oled vpp padding support [1/1]
PD#SWPL-136713

Problem:
add oled vpp padding support

Solution:
add oled vpp padding support

Verify:
t3x_revb

Test:
t3x_revb

Change-Id: I98785779b72b0a4a1390ba0b72bbb3219edb7e4e
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-09-25 20:38:20 +08:00
wenlong.zhang 5f423a9697 drm: remove OSD2_BLEND_SRC_CTRL operation in drm side [1/1]
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>
2023-09-25 20:38:16 +08:00
wenlong.zhang 7efd0375ef drm: Add a private drm printing macros [1/1]
PD#SWPL-130123

Problem:
Add a private drm printing macros

Solution:
Add a private drm printing macros

Verify:
sc2

Test:
DRM-OSD-98

Change-Id: I87a65c5602c09d0102bcdc3e7c46cedee87bdcfc
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2023-09-25 20:36:32 +08:00
wenlong.zhang 43ce41ecaa drm: support fbdev zorder adjustment [1/1]
PD#SWPL-135486

Problem:
support fbdev zorder adjustment

Solution:
support fbdev zorder adjustment

Verify:
S4

Test:
DRM-OSD-92

Change-Id: I523e5656d9ad050b584015bb50afbfebc40763b3
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2023-09-25 20:36:04 +08:00
Ao Xu 7677a3e073 hdmitx: move mode set to hdmitx common [1/1]
PD#SWPL-98751

Problem:
hdmitx20 and hdmitx21 has mode setting flow

Solution:
unify hdmitx20 and hdmitx21 mode setting flow

Verify:
verify on ohm

Test:
DRM-TX-30

Change-Id: Ib279b25796a98f29b59037c1f874c1a2a4a09dd6
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2023-09-20 20:37:53 +08:00
sky zhou d5d2df3f4a hdmitx_common: move drm api and sysfs to common [1/1]
PD#SWPL-93976

Problem:
two copies of implement in tx20/tx21

Solution:
move to hdmitx_common

Verify:
verify on ohm

Test:
DRM-TX-19, DRM-TX-20,DRM-TX-22, DRM-TX-25, DRM-TX-27

Change-Id: I8fdb57a462b77a5c6eb8024e943203bf56b76c8c
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
2023-09-20 20:36:11 +08:00
Ao Xu bcdd7d7d67 drm: add drm hdmitx connector state support [1/1]
PD#SWPL-134988

Problem:
add drm hdmitx connector state

Solution:
add drm hdmitx connector state

Verify:
ohm

Test:
DRM-TX-29

Change-Id: I469bf776428ef6015fae0cbcca1675adc4bb8e7c
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2023-09-14 13:25:21 +08:00
linfang.zhao a3352bedea drm: fix black screen in recovery [1/1]
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>
2023-09-13 23:10:08 +08:00
wenlong.zhang 1b20f7a544 drm: fix async update mutex locked [1/1]
PD#SWPL-138317

Problem:
fix async update mutex locked

Solution:
fix async update mutex locked

Verify:
T7C

Test:
DRM-OSD-94

Change-Id: I9c16dd0242e7ee76b62ba80c99f353373858268f
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2023-09-13 16:22:33 +08:00
wenlong.zhang cc6da6874a drm: fix commit re-enter error [1/1]
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>
2023-09-13 16:15:37 +08:00
Ao Xu 682268937e drm: fix setting mode fail when hdmitx was disconnected [1/1]
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>
2023-09-05 20:47:18 +08:00
congyang.huang 318f521516 drm: support hdr conversion policy [1/1]
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>
2023-08-22 22:14:05 -07:00
congyang.huang 78b609d0a4 drm: fix kernel panic for txhd2 hw_init [1/1]
PD#SWPL-135225

Problem:
kernel panic due to reg_ops null pointer

Solution:
1.add reg_ops for txhd2
2.add null pointer protection

Verify:
txhd2

Test:
DRM-OSD-82

Change-Id: Ic4ab18b66d7a8a6bab5804ef74a7a6c6017c088f
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-08-22 22:13:53 -07:00
jialong.jiang d0e6790042 amdv: zoom out, slice0 reg set error. [1/1]
PD#SWPL-136413

Problem:
4k120hz/100hz zoom out,dv slice0 reg set error.
no reset core2 causes flashing.

Solution:
set dv slice0 reg by osd_dv_core_size_set_s5.
reset core2 osd size is changed.

Verify:
s5

Test:
self-test

Change-Id: Ibb202db1dff693532133794395cca5d43410b996
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-08-22 06:09:11 -07:00
Ao Xu e01743a57b drm: fix compile issue when disable CONFIG_DEBUG_FS [1/1]
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>
2023-08-17 02:28:42 -07:00
Jianxiong Pan b75016a67d zapper: remove c1a relate code. [1/1]
PD#SWPL-126879

Problem:
memory optimization.

Solution:
remove c1a relate code.

Verify:
s1a.

Test:
run on s1a board normally.

Change-Id: Idbd24a529666278295724f26d10f1a720877ca6a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-08-15 20:09:03 -07:00
Ao Xu c84ec5f6c3 drm: add reg_ops init for s1a [1/1]
PD#SWPL-133179

Problem:
s1a's reg_ops is null

Solution:
assign the correct reg_ops for s1a

Verify:
bg201

Change-Id: Ic7d6ca6fc9cd518bff46d49e8875257313abcaaf
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2023-08-15 10:37:52 +08:00
congyang.huang 8d032a2c39 drm: enable drm for s1a [1/1]
PD#SWPL-133179

Problem:
not enable drm

Solution:
1.remove afbc cfg and enable drm
2.move s1a driver to the zapper project

Verify:
s1a

Test:
DRM-OSD-87

Change-Id: I33a3c42108ac7722cf71074ae38191c87fc7f6ea
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-08-15 10:37:51 +08:00
mingyang.he 5bcb01a7a5 drm: s1a bringup drm driver support [1/1]
PD#SWPL-124764

Problem:
set drm driver for s1a

Solution:
add s1a drm driver support

Verify:
s1a ptm

Test:
DRM-OSD-87

Change-Id: Iac8b27099c6effbf26330f2b857574341f49099b
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-08-15 10:36:49 +08:00
mingyang.he db5f5c5038 drm: reset fbdev1 size [1/1]
PD#SWPL-123936

Problem:
fb1 need 360p size

Solution:
specify the size of fb1 separately

Verify:
s4d

Test:
DRM-OSD-68

Change-Id: Ib6cbb62d66ad8ec724a8a29cbb549a7847eea450
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-08-15 10:36:48 +08:00
mingyang.he 9bfc3758ed drm: t3x sort by zorder to select din [1/1]
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>
2023-08-13 21:58:40 -07:00
sky zhou 8755fbfed0 hdmitx: tx20 move to new hdmi timing table [1/1]
PD#SWPL-126462

Problem:
tx20&tx21 have different tables.

Solution:
refact to share timing table.

Verify:
verify on ohm.

Test:
DRM-TX-20, DRM-TX-22, DRM-TX-25, DRM-TX-24

Change-Id: Ieb4fb60f60784148ebc35364c06b88fd7aebd195
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
2023-08-05 03:58:34 -07:00
qinglin.li b71c32040c user: android R need build user [1/1]
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>
2023-08-04 00:38:57 -07:00
sky zhou 27d2e239fb hdmitx: remove 420 vic in tx20 [1/1]
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>
2023-08-02 22:28:57 -07:00
wenlong.zhang 4e9a963264 drm: fix fbdev var yres is incorrect [1/1]
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>
2023-07-30 23:59:09 -07:00
yujun.zhang d3327b6147 drm: SM1 & G12B drm hdmitx & mipi display [1/1]
PD#SWPL-126349

Problem:
No drm support for 2nd MIPI display

Solution:
Config DTS and some codes

Verify:
SM1 & G12B

Test:
DRM-OSD-78

Change-Id: I735857ddf2dec67f45617a5dec970efa75032d5f
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2023-07-26 00:11:40 -07:00
wenlong.zhang 4b0f486145 drm: add present fence [1/1]
PD#SWPL-131024

Problem:
add present fence

Solution:
add present fence

Verify:
SC2

Test:
DRM-OSD-87

Change-Id: I5050620befa65c6a3dca760753fd2952b7dadf67
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2023-07-24 05:08:13 -07:00