mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
fix rga scale for dst_w large than 2048
This commit is contained in:
@@ -1023,6 +1023,9 @@ void RGA_MSG_2_RGA2_MSG(struct rga_req *req_rga, struct rga2_req *req)
|
||||
req->rotate_mode = 0;
|
||||
}
|
||||
|
||||
if((req->dst.act_w > 2048) && (req->src.act_h < req->dst.act_h))
|
||||
req->scale_bicu_mode |= (1<<4);
|
||||
|
||||
req->LUT_addr = req_rga->LUT_addr;
|
||||
req->rop_mask_addr = req_rga->rop_mask_addr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user