Close dynamic turn on/off rk3588 PD_ESMART and keep esmart pd on when
enable display.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I154b96d1039dc42a773ec769c81aa054e9f9d79d
tools video only support chip higher than rk1808
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iec7bfa9e9faa0bf520443f7e259c0519496c7b0f
We saw a link failure after linkup which should fail to probe the device
actually. That was misleading for PCIe stack to scan the device. Add a
double check for that. If that happened, just try to link until the
timeout happened.
[ 2.373308] rk-pcie fe180000.pcie: PCIe Linking... LTSSM is 0x3
[ 2.455521] rk-pcie fe180000.pcie: PCIe Link up, LTSSM is 0x2
[ 2.455658] rk-pcie fe180000.pcie: PCI host bridge to bus 0003:30
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I0f9bcbb42d77a80aa1cb533952427b71096240d6
drivers/rkflash/nandc.c:393:31: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
error, forbidden warning:nandc.c:393
} while ((fl_reg.V6.tr_rdy == 0));
~~~~~~~~~~~~~~~~~^~~~
drivers/rkflash/nandc.c:393:31: note: remove extraneous parentheses around the comparison to silence this warning
} while ((fl_reg.V6.tr_rdy == 0));
~ ^ ~
drivers/rkflash/nandc.c:393:31: note: use '=' to turn this equality comparison into an assignment
} while ((fl_reg.V6.tr_rdy == 0));
Change-Id: Ib4c422216c61191b924163fedfe1b83f1fd297df
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Fixed color anomalies caused by plug when playing hdr videos.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I487ba996add98e5d474149bae3552fe0e8371ff2
solve no response when read back from panel in video mode display
This reverts commit 28eb6929be.
Change-Id: Ic42637d7714169fafa22771185e11c2ddcfa5c95
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Destructor is only used by dma-buf cache.
So replace CONFIG_NO_GKI with CONFIG_DMABUF_CACHE.
Fixes: 345084a2ed ("BACKPORT: ANDROID: GKI: dma-buf: Add support to set a destructor on a dma-buf")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I08c1a10e8e74c37fbe9677115ca421425e4cdcd4
1.Set rc dma as default
2.Changet to ep dma by sending command:
echo 0 > ./sys/module/pcie_dw_dmatest/parameters/is_rc
Change-Id: I9b16c328c08f220772e487c7c796b8898d74ae10
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
1.Support ep information, including sending ep dma status to rc by using msi
2.Set ep drivers version 0x00000001
3.Support PCIE_DMA_RAISE_MSI_OBJ_IRQ_USER ioctl
Change-Id: I9c1530a1ce8289ce324b78a9dd5fa0cb6a5a1858
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Definition rockchip ep device information, like drivers version
and devices dma status. These information will be store in BAR0
in default.
Change-Id: I33dcc00e9923d10ad63d706ce16ba646f0049480
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
When encoding and decoding in parallel, iommu switch failed cause bus
err.
rk_iommu ff442800.iommu: BUS_ERROR occurred at 0x0000000000000000
Rootcause:
Get a invalid dte addr when px30_workaround_combo_init, because of iommu
not enable status.
solution:
read a valid dte addr when iommu enable status.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I4b84c650a6e132928a6dc91a26985abd8c273cfe
Currently only supports single channel, and the network card
name needs to be eth0 and eth1.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I19975b10e2ed12931edc2e8bd50c003416a1109c
hard-ccu mode:
1. ccu hardware assign the tasks to each core.
2. if one core error, wait dule core idle, and reset dual core
and ccu.
3. re-run tasks which have not finish.
Change-Id: I3476c0de21de89019ce924122a85ab4352faafd0
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
if not control it together, may cause vicap do cru reset fail
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ie8cc81688ab3c0d1d91b8aa27992b028f8aee80c
some sensor driver not support get vblank, may cause error state
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I04b869026d262283e055c82b1e9d53233bab3b67