Security and optimization fixes for the via drm:
authorThomas Hellstrom <unichrome@shipmail.org>
Mon, 6 Dec 2004 11:19:23 +0000 (11:19 +0000)
committerThomas Hellstrom <unichrome@shipmail.org>
Mon, 6 Dec 2004 11:19:23 +0000 (11:19 +0000)
commit1fbfd9eb32220a10d66373b77172965cfeccd4f7
treeb3d575f5a2a104b28aece230c6983e88c8d66908
parent267e0645272720344eb7556a948e72112edbe2ec
Security and optimization fixes for the via drm:
1. The command verifier was never initialized in the non-core source tree.
2. Check added that the AGP ring buffer has been initialized before
    accepting command buffer.
3. Free space check in the AGP buffer is moved to after command
    verification, which is more optimal in most cases.
shared-core/via_dma.c
shared-core/via_drv.h
shared/via.h
shared/via_dma.c
shared/via_map.c