• Ben Skeggs's avatar
    drm/nv50: switch to indirect push buffer controls · 9a391ad8
    Ben Skeggs authored
    PFIFO on G80 and up has a new mode where the main ring buffer is simply a
    ring of pointers to indirect buffers containing the actual command/data
    packets.  In order to be able to implement index buffers in the 3D driver
    we need to be able to submit data-only push buffers right after the cmd
    packet header, which is only possible using the new command submission
    method.
    
    This commit doesn't make it possible to implement index buffers yet, some
    userspace interface changes will be required, but it does allow for
    testing/debugging of the hardware-side support in the meantime.
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    9a391ad8
nouveau_drv.h 43.1 KB