mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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
This commit is contained in:
@@ -198,6 +198,7 @@ static int rga2_buf_size_cal(unsigned long yrgb_addr, unsigned long uv_addr, uns
|
||||
pageCount = end - start;
|
||||
break;
|
||||
case RGA2_FORMAT_BGRA_8888 :
|
||||
case RGA2_FORMAT_BGRX_8888 :
|
||||
stride = (w * 4 + 3) & (~3);
|
||||
size_yrgb = stride * h;
|
||||
start = yrgb_addr >> PAGE_SHIFT;
|
||||
|
||||
Reference in New Issue
Block a user