sim: Support to use of non-consecutive framebuffers

Some hardware devices use discontinuous framebuffers, which require SIM support for simulating discontinuous framebuffers.

Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
This commit is contained in:
jianglianfang
2024-01-24 18:53:51 +08:00
committed by Xiang Xiao
parent 5fc016ef2d
commit a5afa11238
4 changed files with 51 additions and 9 deletions
+10
View File
@@ -440,6 +440,16 @@ config SIM_FRAMEBUFFER_COUNT
Framebuffer count.
Simulated frambuffer count. Default: 2
config SIM_FB_INTERVAL_LINE
int "The line between non-consecutive framebuffers"
depends on SIM_FRAMEBUFFER && SIM_FRAMEBUFFER_COUNT > 1
default 0
---help---
When SIM_FB_INTERVAL_LINE = 0, the framebuffers are consecutive.
When SIM_FB_INTERVAL_LINE > 0, the first buffer is not consecutive with
the second buffer, and the interval between discontinuous buffers is
SIM_FB_INTERVAL_LINE * stride. Default: 0
endmenu
choice