1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. */ 3 4 #ifndef _RKISPP_VERSION_H 5 #define _RKISPP_VERSION_H 6 #include <linux/version.h> 7 #include <linux/rkispp-config.h> 8 9 /* 10 * RKISPP DRIVER VERSION NOTE 11 * 12 * v0.1.0: 13 * 1. First version; 14 * 15 * v0.1.1: 16 * 1. support fbc output format 17 * 2. support fec function 18 * 3. support oneframe mode 19 * 20 * v0.1.2: 21 * 1. support multi virtual device; 22 * 23 * v0.1.3: 24 * 1. fix reg write err for fec 25 * 26 * v0.1.4: 27 * 1. add clk rate set for rv1126 28 * 2. safe to enable shp/fec output 29 * 3. tnr skip input buf if no output buf 30 * 31 * v0.1.5: 32 * 1. add proc fs 33 * 2. add iq part information to procfs 34 * 3. fix config err for stream switch 35 * 36 * v0.1.6: 37 * 1. tnr support dynamic switch 38 * 39 * v0.1.7: 40 * 1. fix cannot change some shadow bits by only config function 41 * 2. fix scl0 format check error 42 * 3. vb2 support cache hints 43 * 44 * v0.1.8: 45 * 1. add monitor to restart if abnormal 46 * 2. isp/ispp procfs add work info 47 * 3. scl add yuyv format 48 * 4. fix config err for tnr init off 49 * 50 * v0.1.9: 51 * 1. isp and ispp sync to power off 52 * 2. fix error status of stream off 53 * 3. use fec share buffer to reduce buffer size 54 * 55 * v1.2.0: 56 * 1. waiting all modules to idle to free buf 57 * 2. enable sharp dma to ddr default 58 * 3. using common dummy buf to save memory 59 * 4. monitor thread to alive during work 60 * 5. fix monitor thread exit 61 * 6. tnr/nr/fec sync to start 62 * 7. fec read yuyv format 63 * 64 * v1.2.1: 65 * 1. fix can't work due to last abnormal exit 66 * 67 * v1.2.2: 68 * 1. isp/ispp add lock for multi dev runtime 69 * 2. fix error state of monitor 70 * 3. fix mmu err due to buf free for multi dev 71 * 4. support output isp/ispp reg on each frame 72 * 5. fix error detected by depmod 73 * 74 * v1.3.0: 75 * 1. fec extend to independent video 76 * 2. reduce buf count 77 * 3. dummy buf map to one page if iommu enable 78 * 4. vb2 dma sg for iommu enable 79 * 80 * v1.4.1 81 * 1. support motion detection mode 82 * 2. fix panic for vmap at interrupt 83 * 3. add virtual video for iqtool 84 * 85 * v1.5.1 86 * 1. add vb2_rdma_sg_memops to support contiguous page 87 * 2. fix config of clk_dbg 88 * 3. check frame id when apply params 89 * 90 * v1.6.0 (match aiq v1.66.0) 91 * 1. limit min clk to 50 92 * 2. check scl stop if fec enable 93 * 3. sync to free buf for multi dev stream off 94 * 4. support output isp/ispp reg in nv12 format 95 * 5. isp and ispp add shutdown 96 * 6. optimize the frame rate of fec en 97 * 7. image input from user 98 * 8. fix input video config 99 * 9. add cru reset 100 * 10. check SHARP_CORE_CTRL after update 101 * 11. add uvnr sd32 self en control 102 * 103 * v1.6.1 104 * 1. reserved memory using rdma_sg ops 105 * 2. destory ispp buffers if start_stream failed 106 * 107 * v1.6.2 108 * 1. fix isp and ispp share dmabuf release fail 109 * 2. fix bug that ispp register isn't included in SEI 110 * 3. frame buffer done early 111 * 4. reset at frame end 112 * 5. fix page fault due to scl exit early 113 * 6. fbc error handle 114 * 7. first frame handle for multi dev 115 * 8. fix driver mode sync with ispserver 116 * 117 * v1.7.0 118 * 1. off unused interrupt 119 * 2. fix monitor switch if don't power off 120 * 3. frame start to check stream output buffer 121 * 4. add frame loss info to procfs 122 * 5. fix monitor no working 123 * 6. disable scl dma write if no output buffer 124 * 125 * v1.8.0 126 * 1. sync alloc buf with dma sg case 127 * 2. remove tnr iir first frame skip 128 * 3. replace iommu detach/attach 129 * 4. solving ispp compilation problems 130 * 5. add the stream_v20 131 * 6. add rk3588 config 132 * 7. Make rkispp_module_work_event() static 133 * 8. add the iqtool module 134 */ 135 136 #define RKISPP_DRIVER_VERSION ISPP_API_VERSION 137 138 #endif 139