| .. | .. |
|---|
| 86 | 86 | #define STR(x) STR_HELPER(x) |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | #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 |
|---|
| 91 | 91 | #define DRIVER_PATCH_VERSION |
|---|
| 92 | 92 | |
|---|
| 93 | 93 | #define DRIVER_VERSION (STR(DRIVER_MAJOR_VERISON) "." STR(DRIVER_MINOR_VERSION) \ |
|---|
| .. | .. |
|---|
| 97 | 97 | #define RGA_JOB_TIMEOUT_DELAY HZ |
|---|
| 98 | 98 | #define RGA_RESET_TIMEOUT 1000 |
|---|
| 99 | 99 | |
|---|
| 100 | | -#define RGA_MAX_SCHEDULER 3 |
|---|
| 100 | +#define RGA_MAX_SCHEDULER RGA_HW_SIZE |
|---|
| 101 | 101 | #define RGA_MAX_BUS_CLK 10 |
|---|
| 102 | 102 | |
|---|
| 103 | 103 | #define RGA_BUFFER_POOL_MAX_SIZE 64 |
|---|
| .. | .. |
|---|
| 272 | 272 | struct rga_req rga_command_base; |
|---|
| 273 | 273 | uint32_t cmd_reg[32 * 8]; |
|---|
| 274 | 274 | struct rga_full_csc full_csc; |
|---|
| 275 | + struct rga_csc_clip full_csc_clip; |
|---|
| 275 | 276 | struct rga_pre_intr_info pre_intr_info; |
|---|
| 276 | 277 | |
|---|
| 277 | 278 | struct rga_job_buffer src_buffer; |
|---|
| .. | .. |
|---|
| 379 | 380 | */ |
|---|
| 380 | 381 | struct mm_struct *current_mm; |
|---|
| 381 | 382 | |
|---|
| 383 | + struct rga_feature feature; |
|---|
| 382 | 384 | /* TODO: add some common work */ |
|---|
| 383 | 385 | }; |
|---|
| 384 | 386 | |
|---|