mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
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:
@@ -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) \
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user