|
From: Jon S. <jon...@gm...> - 2005-06-07 16:34:27
|
The server is doing these two pokes from user space. Since I want EGL
to run without root priv I need to move these into the radeon DRM
driver.
This looks like it is missing from the driver:
/* Workaround for some hardware bugs */
if (info->ChipFamily < CHIP_FAMILY_R200)
OUTREG(RADEON_AGP_CNTL, INREG(RADEON_AGP_CNTL) | 0x000e0000);
Second one:
/* Initialize Radeon's AGP registers */
/* Ring buffer is at AGP offset 0 */
OUTREG(RADEON_AGP_BASE, info->ringHandle);
DRM is setting this already:
/* set RADEON_AGP_BASE here instead of relying on X from user space */
RADEON_WRITE(RADEON_AGP_BASE, (unsigned int)dev->agp->base);
I seem to remember making this change, did I already fix this in the driver=
?
--=20
Jon Smirl
jon...@gm...
|