diff options
author | Dave Airlie <[email protected]> | 2010-02-08 17:17:34 +1000 |
---|---|---|
committer | Dave Airlie <airlied@itt42.(none)> | 2010-02-08 17:18:02 +1000 |
commit | eaf8fe657f4cd30c0c1da20c4acf43e077783fcd (patch) | |
tree | 25c18508755e3ff89c8183d962baa265e146544c /src/mesa/drivers | |
parent | 1a45c2bce7480ef1d125439aed8413bcff0ab468 (diff) |
radeon: fix UMS since stp addition.
UMS doesn't need the STP atom.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |