Yu Qiaowei
93c256335b
video: rockchip: rga3: Fix wrong scaling check
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I3159ef8c8a7a425e0106666477b0b5eaa6131d7d
2022-01-05 11:44:03 +08:00
Kever Yang
3a3bde59ba
arm64: defconfig: Enable CONFIG_PCIEASPM_POWERSAVE
...
Enable Low power mode for PCIE by default, the PCIe subsystem will enter
L0s/L1 under hardware control.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com >
Change-Id: I9558587f23cf6b4f852ca6b5d1ab5a9f9eb014ca
2022-01-04 20:14:00 +08:00
Kever Yang
824c99261a
PCI: rockchip: dw: Update link up check state
...
PCIe Link up state is not only L0(0x11), but also other state like L0s,
L1 and etc.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com >
Change-Id: I9b04d01ea38be6423c214f6cb474d045dff235d5
2022-01-04 20:14:00 +08:00
Steven Liu
79b9c780ba
serial: 8250: fix programmable transmit interrupt mode
...
fix __do_stop_tx IER clear UART_IER_PTIME bit.
Fixes: e480347688 ("serial: 8250: enable Programmable THRE Interrupt for tx")
Signed-off-by: Steven Liu <steven.liu@rock-chips.com >
Change-Id: Ie82bdb4dc7cb35ada9cd422e575412eb63d5bf45
2022-01-04 19:19:37 +08:00
Jianqun Xu
a6a0e30750
drm/rockchip: gem: put object unlock for get phys ioctl
...
fix warning as following
[ 24.485312] ------------[ cut here ]------------
[ 24.485348] WARNING: CPU: 0 PID: 468 at drivers/gpu/drm/drm_gem.c:1009 drm_gem_object_put_locked+0x30/0x50
[ 24.485355] Modules linked in:
[ 24.485367] CPU: 0 PID: 468 Comm: rk_mpi_mmz_test Not tainted 5.10.66 #40
[ 24.485372] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[ 24.485380] pstate: 40400009 (nZcv daif +PAN -UAO -TCO BTYPE=--)
[ 24.485388] pc : drm_gem_object_put_locked+0x30/0x50
[ 24.485395] lr : drm_gem_object_put_locked+0x28/0x50
[ 24.485400] sp : ffffffc0151abc10
[ 24.485405] pmr_save: 000000e0
[ 24.485410] x29: ffffffc0151abc10 x28: 0000000000000008
[ 24.485419] x27: 0000000000000008 x26: 0000007fc80811b8
[ 24.485428] x25: 00000000c0086444 x24: ffffffc0151abd28
[ 24.485437] x23: ffffffc01064dab0 x22: ffffff8005bf0400
[ 24.485446] x21: 0000000000000031 x20: 0000000000000000
[ 24.485455] x19: ffffff8005bf0000 x18: 0000000000000000
[ 24.485464] x17: 0000000000000000 x16: 0000000000000000
[ 24.485472] x15: 0000000000000000 x14: 0000000000000000
[ 24.485481] x13: 0000000000000000 x12: 0000000000000000
[ 24.485489] x11: 0000000000000000 x10: ffffff8005bf0458
[ 24.485498] x9 : 0000000000000000 x8 : ffffff8005bf0438
[ 24.485507] x7 : 0000000000000000 x6 : 0000000000000000
[ 24.485515] x5 : ffffffc011a0a808 x4 : 0000000000000000
[ 24.485523] x3 : 0000000000000004 x2 : ffffff800b57a000
[ 24.485532] x1 : fffffffeffe00000 x0 : 0000000000000000
[ 24.485541] Call trace:
[ 24.485549] drm_gem_object_put_locked+0x30/0x50
[ 24.485556] rockchip_gem_get_phys_ioctl+0x70/0xac
[ 24.485563] drm_ioctl_kernel+0x94/0x100
[ 24.485569] drm_ioctl+0x30c/0x34c
[ 24.485577] vfs_ioctl+0x58/0x68
[ 24.485583] __arm64_sys_ioctl+0x68/0x98
[ 24.485591] el0_svc_common.constprop.5+0x138/0x1ec
[ 24.485597] do_el0_svc+0x80/0x9c
[ 24.485605] el0_svc+0x1c/0x28
[ 24.485611] el0_sync_handler+0x64/0x12c
[ 24.485618] el0_sync+0x158/0x180
Fixes: a430ff906a ("drm/rockchip: gem: Add GEM create ioctl support")
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Change-Id: I39be4c5dd952c49d86f51b5abce790090d80294f
2022-01-04 19:07:18 +08:00
ZhiZhan Chen
4ef7101b3a
arm64: dts: rockchip: Add drm-logo memory-region for rk3588-linux
...
Signed-off-by: ZhiZhan Chen <zhizhan.chen@rock-chips.com >
Change-Id: Ibe7c63314e06c225f96dc991c902ee8bce079485
2022-01-04 16:40:20 +08:00
Shawn Lin
1bf109c3d0
PCI: rockchip: dw: Set #PERST to low after suspend
...
As we don't do it in resume routine, so in order to be better
compatibale with devices, set it to low.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Change-Id: I0613e05f6d35ba7def7eedd902cfaff73d716952
2022-01-04 15:00:03 +08:00
Cai YiWei
9f5cb077de
media: rockchip: isp: add csm params config for isp3
...
Change-Id: I87732e4f6ce0bcc936e919ed82b2dad62ec25639
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-01-04 14:45:47 +08:00
Wang Panzhenzhuan
2861e20508
arm64: dts: rockchip: rk3588s-tablet: adapt to camera hw power modification
...
tablet's camera hardware power has been modified,
modify configs to adapt it.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: Ibc1804c9a1730a8b9d32dafe4cdcb722f603d7a2
2022-01-04 14:29:48 +08:00
Lian Xu
fdee9ffb97
media: rockchip: ispp: add the iqtool module
...
Change-Id: I12bebaf79c5ed7de61d1869819b96b22c5b7ff3b
Signed-off-by: Lian Xu <xu.lian@rock-chips.com >
2022-01-04 14:28:28 +08:00
Lian Xu
2550f7a43d
media: rockchip: isp: add the iqtool module
...
Change-Id: Icf3a383e8dba6ea79ce112ddb32c194d70c3fb3a
Signed-off-by: Lian Xu <xu.lian@rock-chips.com >
2022-01-04 14:27:19 +08:00
Shawn Lin
239dd93442
PCI: rockchip: dw: Enable async system PM for multiports SoC
...
Individual port can be suspended or resumed separately.
This can save some time for resuming from deep sleep if
multiports are used.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Change-Id: I44ed4a4a5cbda46425bce13a15809f68856d2174
2022-01-04 10:52:02 +08:00
Herman Chen
4fecb7a4a5
video: rockchip: mpp: Fix mpp_dev_release crash
...
This patch fix crash in mpp_dev_release.
In multi-instance case the session on deinit is attached to session_detach
and trigger the taskqueue to release session. But the session is
released just after unlock and before trigger then the session and
invalid and the session->mpp is also invalid.
The crash log is shown below:
[71267.807643] Call trace:
[71267.810099] do_raw_spin_lock+0x20/0xd8
[71267.813937] _raw_spin_lock_irqsave+0x28/0x38
[71267.818292] kthread_queue_work+0x2c/0x80
[71267.822298] mpp_dev_release+0x118/0x154
[71267.826219] __fput+0xf4/0x1a8
[71267.829272] ____fput+0x20/0x2c
[71267.832409] task_work_run+0x88/0xb0
[71267.835982] do_notify_resume+0xe8/0x10c
[71267.839902] work_pending+0x8/0x10
[71267.843306] Code: aa1e03e0 d503201f 5289d5a0 72bbd5a0 (b9400661)
[71267.849396] ---[ end trace d8082e9114a3a9da ]---
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: Ib9825de2f1bc9f7999bdfe193aa440fd85d41448
2022-01-04 09:55:19 +08:00
Hu Kejun
4c32ec6b15
media: rockchip: isp: add missing highlight in af stats
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ib382077f1eee386f3531d4e406970c64953c11b0
2021-12-31 15:28:51 +08:00
Shunhua Lan
7b0beb7092
arm64: dts: rockchip: rk3588-evb: add hdmiin soundcard
...
Signed-off-by: Shunhua Lan <lsh@rock-chips.com >
Change-Id: I0e1856d3a4d6231da9560c8c913d6760f4a10f2e
2021-12-31 10:53:59 +08:00
Huibin Hong
53d576b324
arm64: process: move show_extra_register_data after dump_backtrace
...
In show_regs, move show_extra_register_data after dump_backtrace
[ 6.071359][ T7] pc : _regulator_put+0x10c/0x11c
[ 6.071370][ T7] lr : regulator_put+0x30/0x4c
[ 6.071379][ T7] sp : ffffffc01223bb20
[ 6.071389][ T7] pmr_save: 000000e0
[ 6.071398][ T7] x29: ffffffc01223bb20 x28: ffffffc01094adb8
[ 6.071414][ T7] x27: ffffffc01094adac x26: ffffff8402bd7f20
[ 6.071429][ T7] x25: ffffff8403a05900 x24: ffffff8402bd7f20
[ 6.071444][ T7] x23: ffffff8403a05900 x22: ffffffc01223bb78
[ 6.071458][ T7] x21: ffffff8403a05800 x20: ffffffc011e250a8
[ 6.071472][ T7] x19: ffffff8403a05600 x18: ffffffc0120f1070
[ 6.071487][ T7] x17: 0000000000000000 x16: 00000000000000d8
[ 6.071502][ T7] x15: 0000000000000004 x14: 0000000000003fff
[ 6.071517][ T7] x13: ffffffc011c0cf28 x12: 0000000000000003
[ 6.071531][ T7] x11: 00000000ffffbfff x10: dead000000000100
[ 6.071546][ T7] x9 : 0000000000000000 x8 : 0000000000000001
[ 6.071560][ T7] x7 : 5b5d313831313730 x6 : ffffffc011e13f50
[ 6.071575][ T7] x5 : ffffffffffffffff x4 : 0000000000000000
[ 6.071589][ T7] x3 : 00000000000000e0 x2 : ffffff8400348000
[ 6.071604][ T7] x1 : 0000000000000000 x0 : ffffff8403a05600
[ 6.071620][ T7] Call trace:
[ 6.071632][ T7] _regulator_put+0x10c/0x11c
[ 6.071644][ T7] regulator_put+0x30/0x4c
[ 6.071659][ T7] devm_regulator_release+0x18/0x28
[ 6.071674][ T7] release_nodes+0x228/0x288
[ 6.071686][ T7] devres_release_all+0x40/0x60
[ 6.071702][ T7] really_probe+0x310/0x510
[ 6.071716][ T7] driver_probe_device+0x80/0xc0
[ 6.071728][ T7] __device_attach_driver+0x118/0x140
[ 6.071741][ T7] bus_for_each_drv+0x84/0xd4
[ 6.071753][ T7] __device_attach_async_helper+0x80/0xdc
[ 6.071765][ T7] async_run_entry_fn+0x48/0x130
[ 6.071778][ T7] process_one_work+0x1f4/0x490
[ 6.071789][ T7] worker_thread+0x278/0x4dc
[ 6.071803][ T7] kthread+0x13c/0x344
[ 6.071816][ T7] ret_from_fork+0x10/0x30
[ 6.071826][ T7]
[ 6.071826][ T7] PC: 0xffffffc01073a8a4:
[ 6.071835][ T7] a8a4 a9014ff4 910003fd b4000720 aa0003f3 b140041f 540006c8 b9402268 35000728
Fixes: 80018840e0 ("ANDROID: arm64: process: dump memory around registers when displaying regs")
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com >
Change-Id: I79e7964a9278de6013fe2213d79b95dcd4f28a86
2021-12-31 10:20:26 +08:00
Yu Qiaowei
131c8920f2
video: rockchip: rga3: Support the kernel to call RGA
...
Add interface: rga_kernel_commit
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: If9a8704a1131ac5e685943e2256781ded204e210
2021-12-31 09:51:21 +08:00
Wang Panzhenzhuan
b1136bfb97
media: i2c: ov50c40: fix the warning when sensor init failed
...
resolve the warning log below:
[ 3.789764][ T1] ------------[ cut here ]------------
[ 3.790250][ T1] WARNING: CPU: 2 PID: 1 at
drivers/regulator/core.c:2157 _regulator_put.part.22+0x168/0x170
[ 3.791131][ T1] Modules linked in:
[ 3.791474][ T1] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.10.66
[ 3.792077][ T1] Hardware name: Rockchip RK3588S TABLET V10 Board
(DT)
[ 3.792683][ T1] pstate: 80c00009 (Nzcv daif +PAN +UAO -TCO
BTYPE=--)
[ 3.793277][ T1] pc : _regulator_put.part.22+0x168/0x170
[ 3.793771][ T1] lr : regulator_put+0x34/0x50
[ 3.794184][ T1] sp : ffffffc01249baa0
[ 3.794540][ T1] pmr_save: 000000e0
[ 3.794874][ T1] x29: ffffffc01249baa0 x28: ffffff8402cc2720
[ 3.795417][ T1] x27: ffffff8402cc2720 x26: ffffffc01083be18
[ 3.795958][ T1] x25: ffffffc01083be10 x24: 0000000000000008
[ 3.796500][ T1] x23: ffffff8402cc2420 x22: ffffffc01249bba8
[ 3.797042][ T1] x21: 0000000000000000 x20: ffffff84037a3c00
[ 3.797583][ T1] x19: ffffff84037a3c00 x18: ffffffc0110eb8c4
[ 3.798125][ T1] x17: 00000000000010f4 x16: ffffffc0110eb898
[ 3.798667][ T1] x15: 000000000000034d x14: 0000000000000000
[ 3.799208][ T1] x13: 0000000000000000 x12: 0000000000000ac1
[ 3.799749][ T1] x11: 0000000000000001 x10: 0000000000000e20
[ 3.800291][ T1] x9 : ffffffc01249ba20 x8 : ffffff8400320e80
[ 3.800832][ T1] x7 : 0000000000000001 x6 : 00000000022385a4
[ 3.801373][ T1] x5 : 0000000000000001 x4 : 0000000000000000
[ 3.801914][ T1] x3 : ffffffc01221cb58 x2 : ffffff8400320000
[ 3.802455][ T1] x1 : 0000000000000000 x0 : 0000000000000001
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: I161b5a57b7e73ed7a57c800ae5a87e9acb7b86c6
2021-12-31 09:48:36 +08:00
Andy Yan
82e307e6d2
drm/rockchip: vop2: Check writeback fifo depth
...
The fifo depth of RK356X/RK3588 writeback is 1920x4/16.
A fifo_throd larger than this value will cause a empty(zero)
writeback.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
Change-Id: Id67209f7b162608dcba191ab23cf6eec11e3fc08
2021-12-31 09:28:38 +08:00
Finley Xiao
5bf8973ca1
driver: rknpu: use volt_rm to restore read margin
...
The voltage may be changed by system monitor.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I0e3f981fe01e495b9a6b11e9ee333819a1a3ac71
2021-12-31 09:25:28 +08:00
Finley Xiao
5b7d19ca43
MALI: bifrost: Avoid crash when set rate and read margin
...
1. change clock rate and read margin only when pd is on.
2. change clock source to normal pll before power down pd.
3. change clock source back to pvtpll and restore clock rate
and read margin after power on pd.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I2028866fdd70909814aaba7ef6d3af3bf764eb87
2021-12-31 09:25:28 +08:00
Finley Xiao
f8e4af5776
soc: rockchip_system_monitor: Avoid crash when set rate and read margin
...
1. only update voltage when low temperature.
2. set memory read margin only when pd is on.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I7a0ae4af45b86c7a08c6ffadccb71a0db3fb44e5
2021-12-31 09:25:28 +08:00
XiaoTan Luo
58f5d3c440
drm/bridge: synopsys: dw-hdmi-qp: fixed hdmi no sound
...
we must wait the video setup ok, and report the plug
event and then startup the audio, if not the vidqpclk
and ipi_clk are off, we can not startup the audio.
Signed-off-by: XiaoTan Luo <lxt@rock-chips.com >
Change-Id: Ie347d02aef7cd696c054ec2cc1eacc77b6f9ff7f
2021-12-31 08:46:11 +08:00
Guochun Huang
6b0aa0c577
arm64: dts: rockchip: rk3588-evb: fix power on/off sequence time according to panel spec
...
Change-Id: Ifae15bb912f0e23e888dcd5c85e85ca84b115077
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2021-12-30 21:20:33 +08:00
Guochun Huang
e7804248fd
drm/rockchip: dsi2: reduce time when sending cmd
...
Change-Id: I8cfc16cff34a2917cc1138e2f3a91f9836ba7caf
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2021-12-30 21:16:37 +08:00
Guochun Huang
82d02d02c5
phy: rockchip: mipi-dcphy: reduce time when phy power up
...
Change-Id: I64e6b11c7f68d76ab1bdecb35f618d4033cadbec
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2021-12-30 20:34:50 +08:00
Guochun Huang
7a5551c6b4
phy: rockchip: mipi-dcphy: reset apb before access registers
...
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
Change-Id: I3d6539549b9d24e1c0d94b86e1c57bf8346b49cc
2021-12-30 20:31:56 +08:00
Frank Wang
f414167ae0
usb: typec: husb311: pm process support
...
For power consumption saving, disable 12M oscillator in HUSB311 and it
will be enabled automatically when INT occur after system resume. In
addition, if the power of HUSB311 was off in PM suspend, we must reset
the HUSB311 and tcpm port first in PM resume process to ensure the devices
can attach again.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com >
Change-Id: Ib845318c5ee2014bd436f21c78e87e17b9433195
2021-12-30 19:48:20 +08:00
Hu Kejun
d974fb7b8e
media: rockchip: isp: config aebig by af when aemode is on
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ibd110edee7a15fa20840de466e5d9e70f142c440
2021-12-30 19:29:52 +08:00
Zhen Chen
3f8c57e4f0
MALI: bifrost: rk: add rk_context::lock and adjust orders of turning on/off vd, clk, pd
...
Turning on order: vd, clk, pd.
Off order: pd, clk, vd.
Change-Id: Ia932a3b572662a6b30e58cbb45fd1f1800283097
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com >
2021-12-30 15:44:14 +08:00
Yu Qiaowei
6df752520b
video: rockchip: rga3: Add mm_session show in the debugger.
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I8766a5c7ab7dd6656c96eeee3d3a65d91c60010d
2021-12-30 15:07:03 +08:00
Yu Qiaowei
a959b73e08
video: rockchip: rga3: The import cmd supports virtual/physical addresses.
...
It will only cache the corresponding address.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I81e110ce382ffe69a42462dd3586931b62eb4190
2021-12-30 15:06:34 +08:00
Yu Qiaowei
4f273fe53c
video: rockchip: rga3: Support to verify whether the memory is greater than 4G.
...
When the memory is greater than 4G, dma_buf does not map the RGA2 device.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I7bf62c7d231fbc2c2e928d1387406281701a6269
2021-12-30 14:54:47 +08:00
Finley Xiao
301c7f8724
driver: rknpu: Add pm ops for npu
...
The configuration of pvtpll and memory read margin will lose if npu pd
power down, and if the source clock of npu comes from pvtpll it will
fail to power up npu pd. so change the source clock to normal pll before
power down, and restore source clock and read margin after power up.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I4a558c51ad061fb99cad384f462065f96ac2f658
2021-12-29 22:10:12 +08:00
Finley Xiao
5226534d73
soc: rockchip_system_monitor: Add support to set init freq
...
As the scmi clk of npu may come from pvtpll, it should power up npu pd
and enable the pclk of pvtpll before set scmi clk. The "assigned-clocks"
in npu node will be set before npu driver probe, at this time the npu
pd may be down, so add "rockchip,init-freq" in opp table node, make
set scmi clk after npu pd is up and pclk of pvtpll is enabled.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I20fc3b6414601134645fa7f157c8ce5db9569232
2021-12-29 22:07:41 +08:00
Finley Xiao
d80daff1fd
driver: rknpu: Implement rk3588_npu_set_read_margin()
...
Add support to change memory read margin according to voltage.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Ia1939ad7e1c9feef61390290b77316ac99c0c664
2021-12-29 22:04:33 +08:00
Finley Xiao
6118992709
MALI: rockchip: Add opp info for system monitor
...
Add support to change memory read margin according to voltage when
register system monitor.
Change-Id: Id1d78432b6a83bbb09b4438146a0197dc914347b
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2021-12-29 22:01:14 +08:00
Finley Xiao
8dbd452849
cpufreq: rockchip: Add opp info for system monitor
...
Add support to change memory read margin according to voltage when
register system monitor.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I04b6464f5c34aa630803cfdd264487fe1eb6ea32
2021-12-29 21:59:37 +08:00
Herman Chen
61d69a619d
arm64: dts: rockchip: rk3588s: Fix jpege clock dependency
...
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: I4586266e1ad40c47ff34f8207d2ad9055e821e10
2021-12-29 21:38:08 +08:00
Finley Xiao
0f83f6cfe8
soc: rockchip: opp_select: Add current read margin for rockchip_opp_info
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Ifd7434d28943aa32222938961fc00ffab7f320ea
2021-12-29 16:10:16 +08:00
Finley Xiao
e3296f88ff
soc: rockchip_system_monitor: Add support to change memory read margin
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I7261fda4d41f66add3d1039f2d655d8790aa0a8b
2021-12-29 16:09:56 +08:00
Yu Qiaowei
6d4d9354f9
video: rockchip: rga3: Add the init of lock and list_head in rga_job.
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I1115710be7d5b1a57ccb71f5c7cb6a5b136cb660
2021-12-29 15:59:01 +08:00
Finley Xiao
5eea33351b
driver: rknpu: Add multiple regulators support
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I42fc7255ddd52e4b8ec7a403e9b328661dcb3c77
2021-12-29 15:41:21 +08:00
Felix Zeng
3d588e4c36
driver: rknpu: Update rknpu driver, version: 0.6.4
...
* Add support for rk3588/rk3588s
Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com >
Change-Id: I292cca4037367d21e88f05bb8a8b7cac93c2f91e
2021-12-29 14:47:50 +08:00
Jianqun Xu
43d1db61b0
dma-buf: dma-buf-cache: fix error case for attach / detach
...
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Change-Id: I84ff3ac7c1357416bb12ca61aa7134fc652538d6
2021-12-29 10:59:40 +08:00
Zefa Chen
6bcf31b474
media: rockchip: cif: sditf is not synchronized with isp when no terminal subdev
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I7f315e677abeb18e35ae4d2d426929823a5f6978
2021-12-29 10:42:19 +08:00
Sandy Huang
cfa9f744e4
drm/rockchip: vop2: fix dsc attach_vp_id error lead to pd control error
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: I7aa679446a36ca346288b0c347168f26672aab78
2021-12-29 10:35:12 +08:00
Finley Xiao
623dd7ec57
arm64: dts: rockchip: rk3588s: Use scmi clk for cpul
...
Fix crash when cpufreq init.
[ 3.454705][ T1] cpu cpu0: Failed to get cpu_leakage
[ 3.455665][ T1] cpu cpu4: Failed to get cpu_leakage
[ 3.456765][ T1] cpu cpu6: Failed to get cpu_leakage
[ 3.459264][ T1] cpu cpu0: avs=0
[ 3.461442][ T1] cpu cpu4: avs=0
[ 3.463602][ T1] cpu cpu6: avs=0
[ 3.464385][ T1] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[ 3.465797][ T1] cpu cpu4: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[ 3.466850][ T1] Unable to handle kernel paging request at virtual address ffffff851e69c828
[ 3.467607][ T1] Mem abort info:
[ 3.467915][ T1] ESR = 0x96000005
[ 3.468248][ T1] EC = 0x25: DABT (current EL), IL = 32 bits
[ 3.468774][ T1] SET = 0, FnV = 0
[ 3.469104][ T1] EA = 0, S1PTW = 0
[ 3.469444][ T1] Data abort info:
[ 3.469763][ T1] ISV = 0, ISS = 0x00000005
[ 3.470159][ T1] CM = 0, WnR = 0
[ 3.470481][ T1] swapper pgtable: 4k pages, 39-bit VAs, pgdp=000000000214e000
[ 3.471127][ T1] [ffffff851e69c828] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[ 3.471956][ T1] Internal error: Oops: 96000005 [#1 ] PREEMPT SMP
[ 3.472504][ T1] Modules linked in:
[ 3.472838][ T1] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.10.66 #606
[ 3.473440][ T1] Hardware name: Rockchip RK3588 EVB2 LP4 V10 Board (DT)
[ 3.474044][ T1] pstate: 60800089 (nZCv daIf -PAN +UAO -TCO BTYPE=--)
[ 3.474642][ T1] pc : cpudl_find+0x228/0x244
[ 3.475038][ T1] lr : cpudl_find+0x1f8/0x244
[ 3.475435][ T1] sp : ffffffc0123ab530
[ 3.475787][ T1] x29: ffffffc0123ab530 x28: ffffff8402f09230
[ 3.476316][ T1] x27: ffffffc011e9a580 x26: ffffffc01233a000
[ 3.476843][ T1] x25: ffffff8400328018 x24: ffffffc011e80b00
[ 3.477372][ T1] x23: ffffffc011e9a580 x22: 00000000ffffffff
[ 3.477902][ T1] x21: ffffff8400f45c80 x20: 0000000000000000
[ 3.478431][ T1] x19: ffffff84fe69c830 x18: ffffffc0123a50f8
[ 3.478960][ T1] x17: 0000000000000056 x16: 0000000000000000
[ 3.479489][ T1] x15: 000000000000001d x14: 0000000000000000
[ 3.480017][ T1] x13: 0000000000000000 x12: 0000000000000378
[ 3.480545][ T1] x11: 0000000000000007 x10: 00000000ffffffff
[ 3.481073][ T1] x9 : 8000000000000000 x8 : ffffff851e69c828
[ 3.481601][ T1] x7 : fefefefefefefefe x6 : ffffff8400f463ff
[ 3.482131][ T1] x5 : 0000000000000000 x4 : ffffff84fe6b3220
[ 3.482659][ T1] x3 : 0000000000000000 x2 : 0000000000000006
[ 3.483187][ T1] x1 : 0000000000000008 x0 : 0000000000000008
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Ie7477c31c9d3ef4fd08235113f9571a86ca62228
2021-12-28 21:33:22 +08:00
Weixin Zhou
94c4a6fae2
input: touchscreen: add focaltech touch
...
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: Idd0d772225ed11a5080649d8e962e5cb4c2b89b7
2021-12-28 18:31:40 +08:00
Andy Yan
284169ebaa
drm/rockchip: vop2: Dump registers of Cluster2/3
...
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
Change-Id: I13aa84ff72f1c718390168487962d925ad2162dd
2021-12-28 18:29:20 +08:00