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:
a332666
)
rga2 driver add x_mirr/y_mirr feature support
author
zsq
<zsq@rock-chips.com>
Mon, 23 Jun 2014 02:11:28 +0000
(10:11 +0800)
committer
zsq
<zsq@rock-chips.com>
Mon, 23 Jun 2014 02:11:28 +0000
(10:11 +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 f993ba8f970540bcea50e6c1588ce7447b1a5f6a..a01dc32e2e3b2faaa7c0f929622a6b76cd82e9f4 100644
(file)
--- a/
drivers/video/rockchip/rga2/rga2_reg_info.c
+++ b/
drivers/video/rockchip/rga2/rga2_reg_info.c
@@
-1013,10
+1013,12
@@
void RGA_MSG_2_RGA2_MSG(struct rga_req *req_rga, struct rga2_req *req)
else if (req_rga->rotate_mode == 2)
\r
{
\r
//x_mirror
\r
+ req->rotate_mode = (1 << 4);
\r
}
\r
else if (req_rga->rotate_mode == 3)
\r
{
\r
//y_mirror
\r
+ req->rotate_mode = (2 << 4);
\r
}
\r
else {
\r
req->rotate_mode = 0;
\r