forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/video/rockchip/rga3/include/rga_drv.h
....@@ -86,8 +86,8 @@
8686 #define STR(x) STR_HELPER(x)
8787
8888 #define DRIVER_MAJOR_VERISON 1
89
-#define DRIVER_MINOR_VERSION 2
90
-#define DRIVER_REVISION_VERSION 26
89
+#define DRIVER_MINOR_VERSION 3
90
+#define DRIVER_REVISION_VERSION 1
9191 #define DRIVER_PATCH_VERSION
9292
9393 #define DRIVER_VERSION (STR(DRIVER_MAJOR_VERISON) "." STR(DRIVER_MINOR_VERSION) \
....@@ -97,7 +97,7 @@
9797 #define RGA_JOB_TIMEOUT_DELAY HZ
9898 #define RGA_RESET_TIMEOUT 1000
9999
100
-#define RGA_MAX_SCHEDULER 3
100
+#define RGA_MAX_SCHEDULER RGA_HW_SIZE
101101 #define RGA_MAX_BUS_CLK 10
102102
103103 #define RGA_BUFFER_POOL_MAX_SIZE 64
....@@ -272,6 +272,7 @@
272272 struct rga_req rga_command_base;
273273 uint32_t cmd_reg[32 * 8];
274274 struct rga_full_csc full_csc;
275
+ struct rga_csc_clip full_csc_clip;
275276 struct rga_pre_intr_info pre_intr_info;
276277
277278 struct rga_job_buffer src_buffer;
....@@ -379,6 +380,7 @@
379380 */
380381 struct mm_struct *current_mm;
381382
383
+ struct rga_feature feature;
382384 /* TODO: add some common work */
383385 };
384386