diff options
author | Thomas Hellström <thomas@tungstengraphics.com> | 2004-12-15 21:59:25 +0000 |
---|---|---|
committer | Thomas Hellström <thomas@tungstengraphics.com> | 2004-12-15 21:59:25 +0000 |
commit | 20456d6a3d18970988eedc1ab84ccde13d1ce900 (patch) | |
tree | ac22a574bd4360928adc351f193c51440271d339 /src/mesa/drivers/dri/unichrome/via_screen.c | |
parent | b4f58e99ebfa7d746781b992aca8189821fb26b0 (diff) |
Unichrome DRI:
Updated the driver to the new VIA security mechanisms in DRM. All command
submissions now passes through DRM ioctls. If the DRM AGP ring-buffer is
not enabled, it will use a DRM mechanism for submitting commands to the
hardware via a PCI bus mechanism.
Removed all direct write accesses to the hardware. Among other things the
VQ was previously turned off for the PCI path, apparently for Tuxracer.
That seemed unneeded and was removed. No visible impact on Tuxracer.
Abstracted all buffer blit operations in via_ioctl.c. The blitter context
is now reprogrammed before each blitting operation.
Updated driver date and drm version requirement.
(Bugzilla Bug #1950, Thomas Hellström)
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_screen.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_screen.c b/src/mesa/drivers/dri/unichrome/via_screen.c index 283dec1403..192d62e647 100644 --- a/src/mesa/drivers/dri/unichrome/via_screen.c +++ b/src/mesa/drivers/dri/unichrome/via_screen.c @@ -95,8 +95,6 @@ viaInitDriver(__DRIscreenPrivate *sPriv) #ifdef USE_XINERAMA viaScreen->drixinerama = gDRIPriv->drixinerama; #endif - /*=* John Sheng [2003.12.9] Tuxracer & VQ *=*/ - viaScreen->VQEnable = gDRIPriv->VQEnable; #ifdef DEBUG if (VIA_DEBUG) { fprintf(stderr, "deviceID = %08x\n", viaScreen->deviceID); @@ -390,7 +388,7 @@ void * __driCreateNewScreen( __DRInativeDisplay *dpy, int scrn, __DRIscreen *psc __DRIscreenPrivate *psp; static const __DRIversion ddx_expected = { 4, 0, 0 }; static const __DRIversion dri_expected = { 4, 0, 0 }; - static const __DRIversion drm_expected = { 2, 0, 0 }; + static const __DRIversion drm_expected = { 2, 3, 0 }; if ( ! driCheckDriDdxDrmVersions2( "Unichrome", dri_version, & dri_expected, |