summaryrefslogtreecommitdiff
path: root/src/smi.h
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-18 20:47:24 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-18 20:47:24 -0200
commit6a91bcc111902c45cc75c865893848b7c6c0a0b1 (patch)
treede546a3852ba6a3c40dc7c2aa317eccecc9da7b9 /src/smi.h
parent5a07709ae41600bc02205753c64d764f11838240 (diff)
Add definitions for the SMI 501/502 "command list interpreter".
This also changes some bit operations to use a "bitfield" equivalent one, with named fields, that should make it easier to understand what is being tested. The enum smi_cli_cmd_code in smi_501.h is code that was added to a experimental smi_drm.h, but the hardware only supports basic 2d accel, and to compensate for the extra overhead for maintaining a command list (assuming it worked correctly) it would be required to have a special handling, like calling an ioctl to do the "busy loop" in the kernel (that is, should wait for an irq or a timeout). The problem is that even if waiting for a idle engine before crafting a command, and waiting again after submitting the command, there would be corruption on screen after some time. So, the "busy loop" in the kernel would only be useful if still using direct writes to mmio registers.
Diffstat (limited to 'src/smi.h')
0 files changed, 0 insertions, 0 deletions