| .. | .. |
|---|
| 390 | 390 | */ |
|---|
| 391 | 391 | |
|---|
| 392 | 392 | /* 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); |
|---|
| 396 | 396 | *bRGA3_WIN0_ACT_SIZE = |
|---|
| 397 | 397 | msg->win0.src_act_w | (msg->win0.src_act_h << 16); |
|---|
| 398 | 398 | *bRGA3_WIN0_DST_SIZE = |
|---|