experiments/dcp.py: Set the display with surface swap

Needs testing on DP/HDMI outputs.

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2022-10-31 01:01:48 +01:00 committed by Hector Martin
parent 7d9608adc4
commit 71baff4adc

View file

@ -205,6 +205,9 @@ swap_rec = Container(
dst_rect = [[0, 0, width, height],[0,0,0,0],[0,0,0,0],[0,0,0,0]],
swap_enabled = 0x80000007,
swap_completed = 0x80000007,
bl_unk = 0x1,
bl_val = 0x58f058d0, # ~99 nits
bl_power = 0x40,
)
surf = Container(