From eaf8fe657f4cd30c0c1da20c4acf43e077783fcd Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 8 Feb 2010 17:17:34 +1000 Subject: radeon: fix UMS since stp addition. UMS doesn't need the STP atom. Signed-off-by: Dave Airlie --- src/mesa/drivers/dri/radeon/radeon_ioctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/radeon/radeon_ioctl.c b/src/mesa/drivers/dri/radeon/radeon_ioctl.c index db0e4f2f7ae..c7ea4521568 100644 --- a/src/mesa/drivers/dri/radeon/radeon_ioctl.c +++ b/src/mesa/drivers/dri/radeon/radeon_ioctl.c @@ -92,7 +92,8 @@ void radeonSetUpAtomList( r100ContextPtr rmesa ) insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.lit[i]); for (i = 0; i < 6; ++i) insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.ucp[i]); - insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.stp); + if (rmesa->radeon.radeonScreen->kernel_mm) + insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.stp); insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.eye); insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.grd); insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.fog); -- cgit v1.2.3