From: Dave Airlie Date: Mon, 8 Feb 2010 07:17:34 +0000 (+1000) Subject: radeon: fix UMS since stp addition. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eaf8fe657f4cd30c0c1da20c4acf43e077783fcd;p=mesa.git radeon: fix UMS since stp addition. UMS doesn't need the STP atom. Signed-off-by: Dave Airlie --- 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);