Commit Graph

18 Commits

Author SHA1 Message Date
zongdong.jiao 02fd74a5e1 hdmitx21: add vrr range and vic lists [1/1]
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>
2024-06-27 20:10:21 +08:00
congyang.huang f2515d1ced drm: add vrr range getting ioctl [1/1]
PD#SWPL-147629

Problem:
no ioctl to get vrr range

Solution:
add ioctl to get vrr range

Verify:
t7c

Test:
DRM-TX-75

Change-Id: If6dab5d69b90ff63acf9617c61a452a6f25bd5d9
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-01-20 18:41:34 +08:00
congyang.huang b5a838812b projector: support txhd2 keystone [1/1]
PD#SWPL-137139

Problem:
not support txhd2 keystone

Solution:
add vpp1 and dummy_p connector to support keystone

Verify:
txhd2

Test:
DRM-OSD-82

Change-Id: I43aa67f39a968255753c882c9ec6b93ae3512900
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-12-28 19:16:03 +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 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 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
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
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
sky zhou 6243bb1b5a hdmitx: update struct hdmi_timing for tx20 [1/1]
PD#SWPL-124461

Problem:
hdmi_cea_timing is different from hdmi_timing.

Solution:
sync from tx21 timing, and mark some members
as deprecated.

Verify:
verify on ohm.

Test:
DRM-TX-17, DRM-TX-19, DRM-TX-8

Change-Id: I8dcbf5cd6749eb9c5adb77cf20ad9c9024ac5f11
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
2023-07-09 15:07:47 -07:00
congyang.huang 05e17af59a drm: kernel 5.15 get and set allm mode [1/1]
PD#SWPL-93711

Problem:
get and set allm mode

Solution:
get and set allm mode

Verify:
sc2

Test:
DRM-TX-23

Change-Id: Ic3edb53c2e197f3a56dd2eaf32269532f9b73d58
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-06-13 21:00:22 -07:00
wenlong.zhang 1b8d3759df drm: add dummy_l connector [1/1]
PD#SWPL-53562

Problem:
add dummy_l connector

Solution:
add dummy_l connector

Verify:
sc2

Test:
DRM-OSD-66

Change-Id: Icdabe39ca5911428f1d6323160852dddb3327d2a
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2023-06-06 20:58:39 -07:00
Wenjie Qiao e8bc8efa30 hdmitx21: s5 bringup for 5.15 [1/1]
PD#SWPL-108774

Problem:
5.15 not support s5

Solution:
add s5 support for 5.15

Verify:
s5

Test:
DRM-TX-17

Change-Id: I6d53e50dad65b95cb48b037091072fa8f5e96e27
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2023-04-15 08:59:04 +08:00
mingyang.he c86a3389f8 drm: modify typo [1/1]
PD#SWPL-93173

Problem:
typo check failed

Solution:
modify typo

Verify:
x86_64 GNU/Linux

Change-Id: I8c38ea8dd21f569eb61271ea17bebd1f54a5d6a7
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2022-09-22 04:11:37 -07:00
Wenjie Qiao 27e85cf459 hdmitx: 5.4 sync to 5.15 [1/1]
PD#SWPL-93028

Problem:
5.4 sync to 5.15

Solution:
sync 5.15

Verify:
sc2

Change-Id: If761bb0e0201ae6085e3b87f5eeafca9a29a4a75
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2022-09-09 08:08:29 -07:00
yujun.zhang 54bd40dae9 drm: add drm driver support [1/1]
PD#SWPL-82197

Problem:
no drm driver support

Solution:
add drm driver support

Verify:
ap222

Change-Id: I331a75afe6087278ebf9de27ae36a346539d09a8
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2022-06-07 04:47:30 -07:00
wanwei.jiang af26eeaf9d media: enable the same config as kernel 5.4 [1/1]
PD#SWPL-77521

Problem:
enable the same config as kernel 5.4

Solution:
enable the same config as kernel 5.4

Verify:
s4d

Change-Id: I73f6eb8a896956337503477f32c218fe465cddda
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-04-11 20:57:12 +08:00