mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-21 22:23:05 +00:00
experiments/dcp: Make dcp*.py scripts run again
Signed-off-by: Eileen Yoon <eyn@gmx.com>
This commit is contained in:
parent
8fd1e4bef4
commit
eb3710edb1
3 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue