video: rockchip: rga3: fill mode disables src0 channel

Update driver version to 1.2.11

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I132581e492bc0b6880bd6227cb083b263e2dc2d2
This commit is contained in:
Yu Qiaowei
2022-05-10 14:49:24 +08:00
parent 2df4d83c64
commit a130e5ac67
2 changed files with 6 additions and 3 deletions

View File

@@ -86,7 +86,7 @@
#define DRIVER_MAJOR_VERISON 1
#define DRIVER_MINOR_VERSION 2
#define DRIVER_REVISION_VERSION 10
#define DRIVER_REVISION_VERSION 11
#define DRIVER_VERSION (STR(DRIVER_MAJOR_VERISON) "." STR(DRIVER_MINOR_VERSION) \
"." STR(DRIVER_REVISION_VERSION))

View File

@@ -1621,14 +1621,17 @@ int rga_mm_get_external_buffer(struct rga_job *job)
struct rga_img_info_t *dst = NULL;
struct rga_img_info_t *els = NULL;
src0 = &job->rga_command_base.src;
dst = &job->rga_command_base.dst;
if (job->rga_command_base.render_mode != COLOR_FILL_MODE)
src0 = &job->rga_command_base.src;
if (job->rga_command_base.render_mode != UPDATE_PALETTE_TABLE_MODE)
src1 = job->rga_command_base.bsfilter_flag ?
&job->rga_command_base.pat : NULL;
else
els = &job->rga_command_base.pat;
dst = &job->rga_command_base.dst;
if (likely(src0)) {
mmu_flag = ((job->rga_command_base.mmu_info.mmu_flag >> 8) & 1);
ret = rga_mm_get_channel_external_buffer(mmu_flag, src0, &job->src_buffer);