experiments/dcp: Make dcp*.py scripts run again

Signed-off-by: Eileen Yoon <eyn@gmx.com>
This commit is contained in:
Eileen Yoon 2024-01-21 02:21:27 +09:00 committed by Hector Martin
parent 8fd1e4bef4
commit eb3710edb1
3 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@ from construct import *
from m1n1.setup import * from m1n1.setup import *
from m1n1.shell import run_shell from m1n1.shell import run_shell
from m1n1 import asm from m1n1 import asm
from m1n1.hw.dart import DART, DARTRegs from m1n1.hw.dart import DART
from m1n1.fw.dcp.client import DCPClient from m1n1.fw.dcp.client import DCPClient
from m1n1.fw.dcp.manager import DCPManager from m1n1.fw.dcp.manager import DCPManager
from m1n1.fw.dcp.ipc import ByRef from m1n1.fw.dcp.ipc import ByRef
@ -101,9 +101,9 @@ dart = DART.from_adt(u, "arm-io/dart-dcp")
disp_dart = DART.from_adt(u, "arm-io/dart-disp0") disp_dart = DART.from_adt(u, "arm-io/dart-disp0")
print("DCP DART:") print("DCP DART:")
dart.regs.dump_regs() dart.dart.regs.dump_regs()
print("DISP DART:") print("DISP DART:")
disp_dart.regs.dump_regs() disp_dart.dart.regs.dump_regs()
dcp_addr = u.adt["arm-io/dcp"].get_reg(0)[0] dcp_addr = u.adt["arm-io/dcp"].get_reg(0)[0]
dcp = DCPClient(u, dcp_addr, dart, disp_dart) dcp = DCPClient(u, dcp_addr, dart, disp_dart)

View file

@ -9,7 +9,7 @@ from construct import *
from m1n1.setup import * from m1n1.setup import *
from m1n1.shell import run_shell from m1n1.shell import run_shell
from m1n1 import asm from m1n1 import asm
from m1n1.hw.dart import DART, DARTRegs from m1n1.hw.dart import DART
from m1n1.fw.dcp.iboot import DCPIBootClient, SurfaceFormat, EOTF, Transform, AddrFormat, Colorspace from m1n1.fw.dcp.iboot import DCPIBootClient, SurfaceFormat, EOTF, Transform, AddrFormat, Colorspace
from m1n1.proxyutils import RegMonitor from m1n1.proxyutils import RegMonitor

View file

@ -9,7 +9,7 @@ from construct import *
from m1n1.setup import * from m1n1.setup import *
from m1n1.shell import run_shell from m1n1.shell import run_shell
from m1n1 import asm from m1n1 import asm
from m1n1.hw.dart import DART, DARTRegs from m1n1.hw.dart import DART
from m1n1.fw.dcp.iboot import DCPIBootClient, SurfaceFormat, EOTF, Transform, AddrFormat from m1n1.fw.dcp.iboot import DCPIBootClient, SurfaceFormat, EOTF, Transform, AddrFormat
from m1n1.fw.dcp.dcpav import * from m1n1.fw.dcp.dcpav import *
from m1n1.proxyutils import RegMonitor from m1n1.proxyutils import RegMonitor