~thong-u/unoptimized/+git/libdrm:mach64-0-0-4-branch

Last commit made on 2002-06-26
Get this branch:
git clone -b mach64-0-0-4-branch https://git.launchpad.net/~thong-u/unoptimized/+git/libdrm

Branch merges

Branch information

Name:
mach64-0-0-4-branch
Repository:
lp:~thong-u/unoptimized/+git/libdrm

Recent commits

19c4d51... by Jose Fonseca <email address hidden>

Less verbose ring and buffer dump routines in the DRM to avoid overflow
    kmsg.

d5e14d9... by Jose Fonseca <email address hidden>

Fixed the endian problems in mach64_clear_bit in non-x86 architectures and
    renamed the function to mach64_clear_dma_eol.

8a6e0b2... by Jose Fonseca <email address hidden>

Use of atomic bit ops in ADVANCE_RING() to lock the BUS when writing to the
    descriptor table. Slight changes to make the GUI master operations be
    handled more similarly to the Mach64 SDK example.

f7aa134... by Jose Fonseca <email address hidden>

Use of le32_to_cpu for the descriptor data and other small fixes in
    dump_ring_info.

1df3dc0... by Leif Delgass <email address hidden>

verify blit buffer size

499ea3f... by Jose Fonseca <email address hidden>

Better structuring of UPDATE_RING_HEAD and ring related code.
    mach64_dump_ring_info now dumps the contents of the buffer pointed by
    the head, via mach64_dump_buf_info.

95f92b7... by Jose Fonseca <email address hidden>

Fixed the bug which caused some lockups: UPDATE_RING_HEAD could (and was)
    being called without the BM enabled. Disabled the code in
    RING_SPACE_TEST_WITH_RETURN which seems to be no longer necessary.
    Slightly enhanced ADVANCE_RING by eliminating the need to mark DMA_EOL
    in the current tail.

75d5b6b... by Leif Delgass <email address hidden>

First half of commit (DRM) for blits using BM_HOSTDATA. This elminates the
    need for userspace clients to add HOSTDATA0 commands to blit buffers
    every 16 dwords. However, it requires using BM_HOSTDATA rather than
    BM_ADDR as the target register in the DMA descriptors for the blit
    data. The first descriptor for a blit buffer sets up the state using
    BM_ADDR. Both types of descriptor work with SRC_BM_OP_SYSTEM_TO_REG in
    SRC_CNTL.

c351b6d... by Jose Fonseca <email address hidden>

Added mach64_dump_ring - a function to dump the active portion of the ring
    buffer, as well as the relevant registers. Added a few assertions to
    make sure we aren't using trying to free used buffers. These checks are
    guarded by MACH64_EXTRA_CHECKING to facilitate their future removal.

b236dd7... by Jose Fonseca <email address hidden>

Protect the GETBUFPTR and GETBUFADDR macros with parenthesis so that they
    retain their functionality when used in expressions or comparisons.