Dump sys/ovl/vp0/vp1/vp2/cluster0/cluster1/esmart0/esmart1/smart0/smart1.
Change-Id: Ic931c99ccd5aa2e2ac2ef1f2b1345daafbe9cf29
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Smart and Esmart support yuv and ymirror, But all the multi area in
one windows share the same ymirror bits. This give a strict limitation
on compositor: the compositor must enable DRM_MODE_REFLECT_Y for all
the multi area plane or disable all of them, otherwise will cause
a iommu pagefault as multie area don't know how to fetch data
from framebuffer.
Change-Id: I52d6f0766f023b6b71ad3a8aace78f38d285c10c
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
When we want display from a offset of the afbc
framebuffer, afbc_hdr_hdr still need to set
from the start address of the framebufferr.
And the x/y offset set to PIC_OFFSET register.
This is different with non-afbc window.
Change-Id: I501c2071c9569dc3801f9bc588e7517d912a7972
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
After the current driver had read the EDID of 4block once,
hdmi->i2c->segment cannot reset to zero, which will cause the
data when restart reading to be block2 data not the expected
block0 data.
At the same time, when msg->addr equal to DDC_SEGMENT_ADDR,
the next setting the same EDID related register, which will lead
to repeated reading of the data of block2, but unable to read the
address of block3.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I490c4b16d977dc044ce3b3ce2d6cfaebd8922f0c
After the current driver had read the EDID of 4block once,
hdmi->i2c->segment cannot reset to zero, which will cause the
data when restart reading to be block2 data not the expected
block0 data.
At the same time, when msg->addr equal to DDC_SEGMENT_ADDR,
the next setting the same EDID related register, which will lead
to repeated reading of the data of block2, but unable to read the
address of block3.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I7c4ec557c6206ff2b941e9060e63b00e941c1e2b
It turns out that we should allow BSP to assign tap number for different
boards or platforms.
Change-Id: I793da380fad1c4d8b96b6ec32f66dfc9e5e631f1
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Make the bandgap clock close to its typical frequency 16MHz.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I60b98438a89ab91fb9e2ac009ad8e2b2cba4a5a3
Need to specify different domain for same bus ID to be attached
via pci type for multi-root PCIe bridge.
Change-Id: I91a1f1c788c777b4bbc4c6bfcccc5228497c2327
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
The RK3568 SoCs have two Temperature Sensors, channel 0 is for CPU,
channel 1 is for GPU.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I0dde1dabfbc1bf44ca203cfdea896ca0c05dfadf
Fix r2y_en and csc_mode_en bit definition of ESMART/SMART.
Change-Id: Ib41858d84161dfe20c4d2452506ce2ef1c22b6f4
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
CONFIG_PM_DEVFREQ enable, while devfreq is not set in dtsi.
then freq is not actually set.
Change-Id: Ie615d38393155c0c0debdc4522f1d47869ea15a2
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
WARNING: vmlinux.o(.text+0x3907c4): Section mismatch in reference from the function pir_aschip_remove() to the function .exit.text:pir_aschip_proc_release()
The function pir_aschip_remove() references a function in an exit section.
Often the function pir_aschip_proc_release() has valid usage outside the exit section
and the fix is to remove the __exit annotation of pir_aschip_proc_release.
Fixes: 633fa7b962 ("misc: add Aschip PIR Sensor drivers")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I459a58755e08b7f418f95985ebed4969c5646d5b
for linux platform bifrost can not compatible with mali config
Update by:
make ARCH=arm64 rockchip_linux_defconfig
cp .config rockchip_linux.config
make ARCH=arm64 menuconfig
scripts/diffconfig -m rockchip_linux.config .config >
arch/arm64/configs/rockchip_linux_bifrost.config
Usage:
make ARCH=arm64 rockchip_linux_defconfig rockchip_linux_bifrost.config
Signed-off-by: Hans Yang <yhx@rock-chips.com>
Change-Id: Ic5def57928c631c96754bb4dd76404d8cbd1e2e6
before
text data bss dec hex filename
15989635 7547498 2289288 25826421 18a1475 vmlinux
after
text data bss dec hex filename
16139178 7628603 2293512 26061293 18da9ed vmlinux
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I32bfb693d387589fba6b523c2dd8791a32043ff1