forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/video/rockchip/rga3/rga3_reg_info.c
....@@ -390,9 +390,9 @@
390390 */
391391
392392 /* do not use win0 src size except fbcd */
393
- /* in FBCD, src_width needs to be aligned at 16 */
394
- *bRGA3_WIN0_SRC_SIZE = ALIGN(msg->win0.src_act_w + msg->win0.x_offset, 16) |
395
- (ALIGN(msg->win0.y_offset + msg->win0.src_act_h, 16) << 16);
393
+ *bRGA3_WIN0_SRC_SIZE = (msg->win0.src_act_w +
394
+ msg->win0.x_offset) | ((msg->win0.y_offset +
395
+ msg->win0.src_act_h) << 16);
396396 *bRGA3_WIN0_ACT_SIZE =
397397 msg->win0.src_act_w | (msg->win0.src_act_h << 16);
398398 *bRGA3_WIN0_DST_SIZE =