Age | Commit message (Collapse) | Author | Files | Lines |
|
Update tag JH7110_SDK_515_v5.14.1
|
|
Set Rx clock gating control signal to normal power consumption mode,
for fixing usb 2.0 host detection failure.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
|
|
update mipi driver support mipi test tool
Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
|
|
Improve RX interrupt trigger mechanism, reduce buffer trigger condition,
and increase polling value to solve the problem of CAN packet leakage.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
Fix dma reset failure happening when disabling network.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
|
|
fix gpio level interrupt excetpion
Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
|
|
|
|
change e24 reset vector to 0x6ce00000
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
correct the copyright of e24
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
add runtime pm ops
Signed-off-by: ys <eason.xiong@starfivetech.com>
|
|
remove pm interface because of no power module
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
add e24 drever, use clk/rst api, syscon spi
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
|
|
enable debian gamma process
Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
|
|
fix debian gamma color problem by changing left shift value from 12 to 16
Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
|
|
|
|
Support clear ioconfig register bit 0.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
|
|
for history reason , the dphy bitrate always be 750M
need fixup.
Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
|
|
|
|
memset pageArray befor use it to fix up fw load error
and grainy screen
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
|
|
CR 9096 porting wave5 v4l2 driver v14
See merge request sdk/linux!1017
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
|
|
The display frame region information received from the vpu also
contains the frame display index: info->index_frame_display.
This index, being a s32, can be negative when a skip option is passed.
In that case, its value is DECODED_IDX_FLAG_SKIP (-2).
When disp_idx == -2, the following exception occurs:
[ 1530.782246][ T1900] Hardware name: Texas Instruments AM62P5 SK (DT)
[ 1530.788501][ T1900] pstate: a0400005 (NzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 1530.796144][ T1900] pc : wave5_vpu_dec_get_output_info+0x300/0x308 [wave5]
[ 1530.803060][ T1900] lr : wave5_vpu_dec_get_output_info+0x80/0x308 [wave5]
[ 1530.809873][ T1900] sp : ffffffc00b85bc00
[ 1530.813872][ T1900] x29: ffffffc00b85bc00 x28: 0000000000000000 x27: 0000000000000001
[ 1530.821695][ T1900] x26: 00000000fffffffd x25: 00000000ffffffff x24: ffffff8812820000
[ 1530.829516][ T1900] x23: ffffff88199f7840 x22: ffffff8873f5e000 x21: ffffffc00b85bc58
[ 1530.837336][ T1900] x20: 0000000000000000 x19: ffffff88199f7920 x18: ffffffc00a899030
[ 1530.845156][ T1900] x17: 00000000529c6ef0 x16: 00000000529c6ef0 x15: 0000000000198487
[ 1530.852975][ T1900] x14: ffffffc009f2b650 x13: 0000000000058016 x12: 0000000005000000
[ 1530.860795][ T1900] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000
[ 1530.868615][ T1900] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000004086
[ 1530.876434][ T1900] x5 : 0000000000000001 x4 : ffffffc001454b94 x3 : ffffffc001454d94
[ 1530.884256][ T1900] x2 : ffffffc00b8201d0 x1 : 0000000000000020 x0 : 0000000000000000
[ 1530.892087][ T1900] Call trace:
[ 1530.895225][ T1900] wave5_vpu_dec_get_output_info+0x300/0x308 [wave5]
[ 1530.901788][ T1900] wave5_vpu_dec_finish_decode+0x6c/0x3dc [wave5]
[ 1530.908081][ T1900] wave5_vpu_irq_thread+0x140/0x168 [wave5]
[ 1530.913856][ T1900] irq_thread_fn+0x44/0xa4
[ 1530.918154][ T1900] irq_thread+0x15c/0x288
[ 1530.922330][ T1900] kthread+0x104/0x1d4
[ 1530.926247][ T1900] ret_from_fork+0x10/0x20
[ 1530.930520][ T1900] Code: 2a1f03ea 2a1f03eb 35ffef2c 17ffff74 (d42aa240)
[ 1530.937296][ T1900] ---[ end trace 0000000000000000 ]---
[ 1530.942596][ T1900] Kernel panic - not syncing: BRK handler: Fatal exception
[ 1530.949629][ T1900] SMP: stopping secondary CPUs
[ 1530.954244][ T1900] Kernel Offset: disabled
[ 1530.958415][ T1900] CPU features: 0x00,00000000,00800184,0000421b
[ 1530.964496][ T1900] Memory Limit: none
Move the disp_info assignment after testing that the index is positive
to avoid the exception.
Fixes: 45d1a2b93277 ("media: chips-media: wave5: Add vpuapi layer")
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
There is a spelling mistake in a dev_dbg message. Fix it.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Fix compile warning when CONFIG_OF=n:
drivers/media/platform/chips-media/wave5/wave5-vpu.c:274:34: warning: 'wave5_dt_ids' defined but not used [-Wunused-const-variable=]
274 | static const struct of_device_id wave5_dt_ids[] = {
|
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: added commit log text]
|
|
Add the decoder and encoder implementing the v4l2
API. This patch also adds the Makefile and the VIDEO_WAVE_VPU config
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
|
|
Add the vpuapi layer of the wave5 codec driver.
This layer is used to configure the hardware according
to the parameters.
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
|
|
Allow decoder drivers to enable set the ignore_streaming flag on their
CAPTURE queue, to allow queuing jobs to the M2M ready queue and perform
firmware sequence analysis with just a streaming OUTPUT queue and
available bitstream data.
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
|
|
Lower the priority of print
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
|
|
|
|
CR_9038_qspi_32Mflash_515_ziv.xu
See merge request sdk/linux!1013
|
|
add gd25lq256d 32M flash support
Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
|
|
Improve l2cache flush performance. And adjust ISP sc buffer size
in pixel format.
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
|
|
|
|
According to the manual of SiFive U74, implement a new method to flush the entire L2 cache by using the Zero Device.
After testing, 512KB is the critical point between the old and new way. It's better to use sifive_ccache_flush_entire
function while data size is larger than cache size. Or it will improve more at 512KB when you know what you are doing.
Signed-off-by: Windsome Zeng <windsome.zeng@starfivetech.com>
|
|
|
|
use new way to match the dsi timming parameters
Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
|
|
CR_8906 The SiFive private L2 cache PMU is supports per-task profiling
See merge request sdk/linux!1004
|
|
CR_7964 vout: divide interrupt into 2
See merge request sdk/linux!1002
|
|
The SiFive private L2 cache PMU is supports per-task profiling
and event counting. Users can use the perf tool to profile by
event name and event id.
Example: $ perf stat -e /sifive_u74_l2_pmu/inner_acquire_block_btot/
-e /sifive_u74_l2_pmu/inner_acquire_block_ntob/
-e /sifive_u74_l2_pmu/inner_acquire_block_ntot/ ls
Performance counter stats for 'CPU(s) 0':
300 sifive_u74_l2_pmu/inner_acquire_block_btot/
17801 sifive_u74_l2_pmu/inner_acquire_block_ntob/
5253 sifive_u74_l2_pmu/inner_acquire_block_ntot/
0.088917326 seconds time elapsed
$ perf stat -e /sifive_u74_l2_pmu/event=0x10001/
-e /sifive_u74_l2_pmu/event=0x4001/
-e /sifive_u74_l2_pmu/event=0x8001/ ls
Performance counter stats for 'CPU(s) 0':
251 sifive_u74_l2_pmu/event=0x10001/
2620 sifive_u74_l2_pmu/event=0x4001/
644 sifive_u74_l2_pmu/event=0x8001/
0.092827110 seconds time elapsed
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
use new way to match the dsi timming parameters
Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
|
|
crtc0 and ctrc1 use the diff bit instead of common one
Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
|
|
|
|
for bin1 594MHz , bin2 396MHz
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
|