1. when import dma-buf we should compare dma_buf->ops with
rockchip_drm_gem_prime_dmabuf_ops;
2. drm_gem_prime_import_dev add some special change for ion alloc
buffer, we must remove them from drm_prime.c for gki.
so we implement rockchip_drm_gem_prime_import to instead of
drm_gem_prime_import.
Change-Id: Iab3260b5c3efb5634d411eb1e8620fb575aa063c
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
fixed the maximum voltage value of CPU working at 408M
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: Iaa730767007229295106d8f5e2ff7e1653f19aef
y state isr of next long frame of some sensor comes before frame end of short frame,
fix can not report luma connected with these sensor.
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: I9024bf330da178445aaff4aa8131dec6547e5ba5
There is a pull-up resistor added to the new touch board,
so the address of TP is changed to 0x14.
At the same time, switch the reporting coordinate method for
meet the requirement of QT using linuxfb.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I1e25f7e47b2b93ccb66b1c093241eb94afc1a574
RV1126 robot defconfig removes some configs from rv1126_defconfig
which is not in use of robot boards, like BT, ethernet, LCD, VOP.
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Change-Id: I8f89e79e6b6e48005c8a4dca231ef7ea0a5a064a
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux.c:6975:39:
warning: argument to 'sizeof' in 'strncpy' call is the same expression
as the source; did you mean to use the size of the destination?
[-Wsizeof-pointer-memaccess]
error, forbidden warning:dhd_linux.c:6975
strncpy(drvname, info.driver, sizeof(info.driver));
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Change-Id: I8f39153a2df4bb2395cd9aac9bd763587f509713
Configure gtp_ics_slot_report in dts node will use slot report
to report coordinate. QT use linuxfb backend can only receive
touch reports in this way.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I080d7752852e07bd8f93c86149af6021e2b0edbf
use DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE to instead of
DRM_BUS_FLAG_PIXDATA_NEGEDGE.
Fixes: d5272ec9bd ("drm/rockchip: use DRM_BUS_FLAG_PIXDATA_NEGEDGE to identify dclk polarity")
Change-Id: Ifaa376f1d71e77a83096c1e8fd8e1d245fea63d5
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
The DRM_BUS_FLAG_PIXDATA_POSEDGE and DRM_BUS_FLAG_PIXDATA_NEGEDGE macros
and their DRM_BUS_FLAG_SYNC_* counterparts define on which pixel clock
edge data and sync signals are driven. They are however used in some
drivers to define on which pixel clock edge data and sync signals are
sampled, which should usually (but not always) be the opposite edge of
the driving edge. This creates confusion.
Create four new macros for both PIXDATA and SYNC that explicitly state
the driving and sampling edge in their name to remove the confusion. The
driving macros are defined as the opposite of the sampling macros to
made code simpler based on the assumption that the driving and sampling
edges are opposite.
Change-Id: I262d7c66791f5de18042e627b32c64851fcaf1ee
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
(cherry picked from commit a792fa0e21)
This reverts commit 455796818d.
and deal with this issue by following commit:
commit 1f525e2416b3 ("drm/rockchip: reset conn->state->best_encode")
Change-Id: I239296a0a618a3034c6502ca95050dd85da7b5fe
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This reverts commit 4492caa259.
remove rockchip private flag.
use DRM_BUS_FLAG_PIXDATA_NEGEDGE to instead of DRM_MODE_FLAG_PPIXDATA.
Change-Id: I24ce988a84a4a5793f7eb3e26e51293988d854d0
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Get rid of devm_* de-initialization call in iep driver,
for devm de-initialization api aren't necessary called
in modules driver.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
Change-Id: I20f063d1cf30d15087fbf36f57b2d07fe1eff200
1) remove fiq_debugger, exist on rk3399-linux.dtsi
2) update the related vpu node
3) update edp node
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I64f563bd75eb91d252681e6075b52d1715c7b3d4
1.optimize duplicate code
2.modify enable_clk and disable_clk
3.use RK_CRYPTO_PRIORITY instead of magic number 300
Change-Id: I416036c5739dc916e318e1cb3233a44fd0428717
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
1. mpp_free_task is called in several places.
2. The user space wait fails and free session immediately,
while, the ISR thread is still working, then mpp_dma_release
will meet session null.
Call trace:
__ll_sc___cmpxchg_case_acq_8+0x4/0x20
mpp_dma_release+0x1c/0x50
mpp_task_finalize+0x80/0xc8
vepu_free_task+0x14/0x30
mpp_free_task+0x44/0xc0
mpp_taskqueue_pop_running+0xf8/0x100
mpp_task_finish+0x84/0x160
vepu_isr+0x54/0xe0
mpp_dev_isr_sched+0x48/0x98
Change-Id: I315a01d700791fa50dfed67175c77e5d733fe30d
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Fix system crash issue when spi dev has no correct pinctrl handle.
Fixes: 87dbea63d5 ("spi: rockchip: set higher io driver when sclk higher than 24MHz")
Change-Id: I603fe8f74681b576fe7fcd404a386ec2b2c03da4
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>