Fake mode accesses memory using the DTE address as the final physical
address on page fault, ignoring reads and discard writes. This resolves
VOP mmu hang issues caused by page faults.
Change-Id: I6b37b79a425c0341e53e0c8a786767a4b7da304e
Signed-off-by: Simon Xue <xxm@rock-chips.com>
cif subdev-itf need to update sensor info in s_power, fix
mipi switch case info error issue.
Change-Id: I1ce93c31e4b3c1631dac4c86e30c65b6d4503624
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Wrong noioctl return value cause rkisp get cfg failed,
so fix it.
Change-Id: I70e310c35a565369ea760a06f45465f78a0c321b
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Fixes: 8633bf3947 ("misc: rockchip: pcie-rkep: Support continuous buffer")
Change-Id: I29bcf73f5af3d1e1a45fbb16da0b09cda9ff3f46
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
1.Add continuous buffer support:
alloc continuous buffer by ioctl PCIE_EP_CONTINUOUS_BUFFER_ALLOC
free continuous buffer by ioctl PCIE_EP_CONTINUOUS_BUFFER_FREE
mmap continuous buffer virtual addr by ioctl PCIE_EP_SET_MMAP_RESOURCE_CONTINUOUS_BUFFER
2.Change to record mmap resource index under each task file.
Change-Id: Ib820086dd67b3f0bd2f820232491860b8e170ae3
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
There're two ways to support read multiple blocks transmission:
- Current design: SET_BLOCK_COUNT(CMD23) + READ_MULTIPLE_BLOCK(CMD18)
- READ_MULTIPLE_BLOCK(CMD18) + STOP_TRANSMISSION(CMD12)
CMD23 only support 2^16 blocks, we should change to plan B for the
larger size transmission.
Change-Id: Id8f3d11dbff65b8bac4b74ef2024862b6722fc26
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
1.Call register/unregister in pair;
2.Only enable gpio_php when driver built in.
Change-Id: Ib7326a76333a5916842a8e3f15b7fa329b4dde77
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Always use the frame burst even if there is only one mapping.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I3774be5286d618dd61ed11e443ee657ea22cd8d8
In scenarios where U-boot can read EDID but the kernel cannot,
HDMI color of U-boot and the kernel may differ. The current color
switching process causes this scenario where HDMI enters the
kernel but fails to switch to the correct color. Optimize process
of switching colors to solve this problem.
Change-Id: I36c7d7e68e438bd33f9d2804d4a5a34edda9ba4a
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
When the HDMI status changes, there is no need to call
dw_hdmi_qp_setup() function every time. The configuration can be
carried out independently for specific changed parts. This can
reduce delays and avoid mutual interference.
Change-Id: I5999961893d517cba04c58ca0c96fe201d413ee0
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
The default is to clear mpp load info during suspend, but suspend config may be turned off, resulting in load info not being cleared.
Change-Id: Ic930d3f691dc2f1694acfdc7ac1cbe4f022b4e62
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
When conducting FRL training, the video data transmitted from
VOP to HDMI must be disabled. Until the training is successful
or fails, then it will be reopened. When the FRL training fails,
the video transmission from the video to HDMI is not re-enabled.
This will result in the inability to display normally even when
switching to tmds mode after training fails.
Therefore, regardless of the specific scenario, when switching
to the tmds mode, the data transmission from VOP to HDMI must be
enabled.
Change-Id: I1c853c8197fdf7aaef32c80c5cdb73db13d9ec4c
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
The variable 'T' in the calculation formula
'output = T * M1 * N_y2r * M0 * N_r2y' has been omitted.
Change-Id: I347eca9786729de0ce35c35f483b55a7cb62bd7e
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
In analogix_dp_link_start(), &link_train.training_lane[] is used to
set phy PE/VS configurations, and buf[] is initialized with the same
values to set DPCD DP_TRAINING_LANEx_SET.
It makes sense to reuse &link_train.training_lane[] to set DPCD
DP_TRAINING_LANEx_SET, which can remove the redundant assignments
and make codes more consice.
Change-Id: I38869c22f8cc93b18b3b27bc41a0975700b328d1
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>