Skip to content

Commit f558e5a

Browse files
Yu Qiaoweirkhuangtao
authored andcommitted
video/rockchip: rga2: Add support for BGRX8888
The userspace librga(im2d) is using 0x16 for BGRX8888. Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com> Change-Id: I6cac09898039aefa87f5633d60bf590e3f130e56
1 parent 4cda61d commit f558e5a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/video/rockchip/rga2/rga2_mmu_info.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ static int rga2_buf_size_cal(unsigned long yrgb_addr, unsigned long uv_addr, uns
198198
pageCount = end - start;
199199
break;
200200
case RGA2_FORMAT_BGRA_8888 :
201+
case RGA2_FORMAT_BGRX_8888 :
201202
stride = (w * 4 + 3) & (~3);
202203
size_yrgb = stride * h;
203204
start = yrgb_addr >> PAGE_SHIFT;

0 commit comments

Comments
 (0)