video: rockchip: rga3: gauss mode support config alpha

Update driver version to 1.3.5

Change-Id: Icfbbf9c23a71d8aa3c855a15c67afdac13eb6f58
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
This commit is contained in:
Yu Qiaowei
2024-07-22 14:38:25 +08:00
committed by Tao Huang
parent 50e1c583a3
commit 7ac61bc898
2 changed files with 8 additions and 1 deletions

View File

@@ -87,7 +87,7 @@
#define DRIVER_MAJOR_VERISON 1
#define DRIVER_MINOR_VERSION 3
#define DRIVER_REVISION_VERSION 4
#define DRIVER_REVISION_VERSION 5
#define DRIVER_PATCH_VERSION
#define DRIVER_VERSION (STR(DRIVER_MAJOR_VERISON) "." STR(DRIVER_MINOR_VERSION) \

View File

@@ -2545,6 +2545,13 @@ static void rga_cmd_to_rga2_cmd(struct rga_scheduler_t *scheduler,
req->alpha_config.mode = req_rga->PD_mode;
}
} else if (req_rga->gauss_config.size > 0) {
if (req_rga->feature.global_alpha_en) {
req->alpha_config.fg_global_alpha_en = true;
req->alpha_config.fg_global_alpha_value = req_rga->fg_global_alpha;
} else {
req->alpha_config.fg_global_alpha_value = 0xff;
}
}
if (req_rga->mmu_info.mmu_en && (req_rga->mmu_info.mmu_flag & 1) == 1) {