projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f1ce8
)
fix rga scale for dst_w large than 2048
author
zsq
<zsq@rock-chips.com>
Thu, 8 May 2014 08:03:59 +0000
(16:03 +0800)
committer
zsq
<zsq@rock-chips.com>
Thu, 8 May 2014 08:03:59 +0000
(16:03 +0800)
drivers/video/rockchip/rga2/rga2_reg_info.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rga2/rga2_reg_info.c
b/drivers/video/rockchip/rga2/rga2_reg_info.c
index b80ac018ee2c05a07f2f6c02e35c98f5c823e1de..535944f24f23acabcda6a45a0ed60a2c35a68fed 100644
(file)
--- a/
drivers/video/rockchip/rga2/rga2_reg_info.c
+++ b/
drivers/video/rockchip/rga2/rga2_reg_info.c
@@
-1023,6
+1023,9
@@
void RGA_MSG_2_RGA2_MSG(struct rga_req *req_rga, struct rga2_req *req)
req->rotate_mode = 0;
\r
}
\r
\r
+ if((req->dst.act_w > 2048) && (req->src.act_h < req->dst.act_h))
\r
+ req->scale_bicu_mode |= (1<<4);
\r
+
\r
req->LUT_addr = req_rga->LUT_addr;
\r
req->rop_mask_addr = req_rga->rop_mask_addr;
\r
\r