One mpp_session session can be target of multi-thread ioctl process.
So we need to make struct mpp_task_msgs be independently operated.
Fixes: baccd98fb9 ("video: rockchip: mpp: Add message batch process")
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic7b8b6ac75f1508772707399cb7711cfb05a9e6d
RV1103G - QFN88
RV1106G - QFN128
RV1106 - BGA
Currently, the HW PCB is renamed with suffix 'G'
for QFN package. So, we do the same change.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Id71e271f04f34f7cfb66ee338154f37236835763
Add this config option to reduce memory usage about 4388 bytes,
if it was not necessary.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ia0cac913d226f97ea75b67d9c071ad1323a54535
Add this config option to reduce memory usage, if it was not necessary.
./ksize.sh drivers/net/ethernet/stmicro/
before size: 70125 Bytes
after size: 65984 Bytes
save size: 4141 Bytes
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I82c404a41a7abde6adf38557d8b2096b17b4b6e5
Because of the difference in pointer size between 32/64 bit systems.
Update driver version to 1.2.4
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: If557cdeb69f1f811eed6cf44419cbb73679dada0
Add this config option to reduce memory usage, if it was not necessary.
./ksize.sh drivers/net/ethernet/stmicro/
before size: 109539 Bytes
after size: 70125 Bytes
save size: 39414 Bytes
Change-Id: I5f6b4573d7358c3b6f046e960c7ddf7d53541b14
Signed-off-by: David Wu <david.wu@rock-chips.com>
Add this config option to reduce memory usage, if it was not necessary.
./ksize.sh drivers/net/ethernet/stmicro/
before size: 121861 Bytes
after size: 109539 Bytes
save size: 12322 Bytes
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I828130d961846a955b998d63afffbabcc9dd5925
This patch adds phy configuration for rv1106 usb2 phy
which has only one otg port.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Ida93914f3eae3d692265bcf9751d9150619098af
xz_wrap.sh use $SRCARCH to detect the BCJ filter. However, assigning
arm BCJ filter to Thumb-2 kernel is not optimal. In my case, about 5%
decrease of image size is observed with armthumb BCJ filter:
Test results:
hardware: QEMU emulator version 3.1.0
config: vexpress_defconfig with THUMB2_KERNEL & KERNEL_XZ on
arm BCJ: 4029808
armthumb BCJ: 3827280
Choose armthumb BCJ filter for Thumb-2 kernel to make smaller images.
Signed-off-by: Jubin Zhong <zhongjubin@huawei.com>
Link: https://lore.kernel.org/lkml/1637323647-19988-1-git-send-email-zhongjubin@huawei.com/
Change-Id: I23c6e0fd2e54fdc84e78f122d6f4f06e54026696
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This patch adds u2phy node and usb controller node for rv1106.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I368acc1dde145b3a985490667e2f4df748e3b3bd
The function of this configuration is to be used in early SoCs.
limiting the PCIe max request size to reduce the loading of PCIe
transmission performance, it may cause performance degradation.
Signed-off-by: Shaoxing Chen <csx@rock-chips.com>
Change-Id: I35927fde49d96473c01cab62d1b0e461bda43738
drivers/clk/rockchip/clk-ddr.c:166:29: warning: rockchip_ddrclk_scpi_ops defined but not used [-Wunused-const-variable=]
Fixes: 20d9591cb6 ("clk: rockchip: optimize static memory consume")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ie90045e8a30670bd697427ea230fedaa20bfcc01
Add this config option to reduce memory usage, if it was not necessary.
./ksize.sh drivers/net/ethernet/stmicro/
before size: 131758 Bytes
after size: 121861 Bytes
save size: 9897 Bytes
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I96c88d5eb5109fc956a85b8685e1746d76545a87
When build with rv1126_defconfig:
before:
text data bss dec hex filename
17063 144 0 17207 4337 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.o
after:
text data bss dec hex filename
7387 144 0 7531 1d6b drivers/net/ethernet/stmicro/stmmac/dwmac-rk.o
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I941f79357f686f5d35e727abea2fe26c4ea0dafa
Overwrite rk806single node for virtual poweroff:
1. Don't close 24M_osc's power in suspend;
2. Pmic's pinctrl switch to sleep function in system poweroff;
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I3287eb57f5e18bf76f7f2468b997edd787d7c3f9
Overwrite rockchip_suspend node for waking up by pwm_int in system suspend:
1. Use 24M clock in suspend;
2. Enable RKPM_CPU0_WKUP_EN wakeup;
3. Enable virtual-poweroff;
4. Enable sleep-debug-en;
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I10685799a90cc5dde2f698924e5bd8a45ad00b27
1. Add SET_SESSION_FD cmd for message session switch.
2. Use session to temporally store the ioctl message. Default message
capacity is 2. For multi-core hardware the message capacity can be
larger.
3. Split message handling into several stages. All the batch messages
are attached to the temporary list and process stage by stage.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I9d96bb96c24001dc5d27893fb09d1b8073d1a4a5
When calling RGA2 with a physically contiguous dma_buf it will be called
with the physical address.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Iadb2d638b426c9be64a403b42513f8c7b58fb866