* commit 'bb4832d4dc32476eac184ee48b1c05572a01bc8a':
media: i2c: rk628: post process add yuv2020 to rgb
ASoC: rk312x: Remove unused code
media: rockchip: vicap fixes error of parse data type
PM / devfreq: rockchip_dmc: Use new api to adjust opp table for rk3528
arm64: dts: rockchip: rk3528: Add 324MHz and 666MHz for dmc
ASoC: es8323: Fix power consumption
Change-Id: Ia776f4db082c8f6713993b0a67f89aa569d93672
According to deepseek suggestion, fix the following potential issues:
1. drm_gem_object_init() does not check the return value,
causing memory leak;
2. The alloc_kmap flag maybe overwritten by an error in
rockchip_gem_create_with_handle();
3. Resource leak exists in rockchip_gem_prime_import_sg_table();
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I998feace191784638bf68bf53f57ff74c4ecf6dd
The relationships between the main window and the splice window are:
Main | Splice
Cluster0 | Cluster1
Cluster2 | Cluster3
Esmart0 | Esmart1
Esmart2 | Esmart3
The VP0 and VP1 should be used in combination when the display mode is
over 4k. The main window should attach to the VP0, while the splice
window should attach to the other.
Without this patch, the default plane_mask may not meet the above
requirement when the plane_mask is not assigned in DTS.
Change-Id: Ia676f519ce26d579b1066841715fe8678dc15852
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
There is no need to do dwc2_core_init() for Rockchip SOCs if the
logic is not powered off after system suspend. If the logic is
powered off after system suspend, we will reinitialize the core
in dwc2_resume() function.
Change-Id: Ibe6d0e81e5a39feca528c838c187cfe8c31269f5
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
* commit '8f68e85c3d9d8d7cbf20e299d61dc945ba11180e': (90 commits)
ASoC: rockchip: pdm_v2: set 0dB gain as default
media: rockchip: isp support to adjust sof_cnt according to vicap sof
media: rockchip: vicap increase frame_idx and sof according to mipi fs package
drm/rockchip: vop2: Fix incorrect ref_count for rk3576 cluster_pd
drm/bridge: synopsys: dw-hdmi-qp: Fix AVI checksum error in vsi quirk
drm/rockchip: vop: move devm_request_irq to the end of vop_bind
media: rockchip: vicap modify logic of sof
media: rockchip: isp: multi-sensor online info to vicap
arm64: dts: rockchip: rk3576-evb1: add pcie1 config
ARM: dts: rockchip: rk3502: enable low power mode for rk3502 otg0 port
phy: rockchip: inno-usb2: disable vbus detection in low power mode
media: i2c: tp2855: move from strlcpy with unused retval to strscpy
media: i2c: tc35874x: move from strlcpy with unused retval to strscpy
media: i2c: sc500ai: move from strlcpy with unused retval to strscpy
media: i2c: sc430cs: move from strlcpy with unused retval to strscpy
media: i2c: sc4238: move from strlcpy with unused retval to strscpy
media: i2c: sc2310: move from strlcpy with unused retval to strscpy
media: i2c: sc2239: move from strlcpy with unused retval to strscpy
media: i2c: sc2232: move from strlcpy with unused retval to strscpy
media: i2c: sc210iot: move from strlcpy with unused retval to strscpy
...
Change-Id: I878d34e574a85eaeae80163ca68bfc410802d6b7
mean sometimes dma capture is turned off because not active buf,but increase frame_idx to record frame loss
the function start with rk3576 and new chip
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ie5be72b2ba3372a511c462853fc705a5c8b1e9d7
1. The 4 ESMART win share one PD_ESMART and 2 CLUSTER win share one
PD_CLUSTER
2. The 4 ESMART win and 2 CLUSTER win maybe used by different VP
3. Different VP have different vsync, this maybe lead to PD up and
down at unexpected time.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Iaa3d72df880180a9d73476551f31b7adaa76e967
At MOS environment, the irq handle may be triggered immediately
after request irq, the irq handle maybe access vop memory, e.g.,
vop_isr() -> vop_wb_handler() access vop->wb->regs, so move
devm_request_irq() to the end of this function to make sure vop is
initialized.
Change-Id: Ie124576bf2333f63ec3985c321a3c368e28b34be
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
skip sof and frame_index when loss frame, only work in multi online
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ib9739dec0674deac0c0ad182f6836f9edf858212
This patch disable vbus detection in low power mode to save power.
Change-Id: Ic9536d26d6e9d9ab57e4e20b9f43859f445ada0c
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
fix odd rows not refreshing when rearrange screen is being fully refreshed
Change-Id: Icd6edb40ba42a80ef244d8e36f3a3544a4d0d8e2
Signed-off-by: Zorro Liu <lyx@rock-chips.com>