diff options
author | Dave Airlie <[email protected]> | 2009-04-07 15:05:53 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-04-07 15:08:56 +1000 |
commit | 86556f8bdab2c59a33619ecfda011bce8f047acb (patch) | |
tree | 19b9427c5ba93392717469861edbb1c6737c944c /src/mesa/drivers/dri/r200/r200_state.c | |
parent | 23478f1c037c3c97ebf3a5f53f2dfbfa31a9b197 (diff) |
radeon/r200/r300: fix missing dma buffer validation
this make gnome shell run
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_state.c')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_state.c b/src/mesa/drivers/dri/r200/r200_state.c index f040713980f..1b9724d6429 100644 --- a/src/mesa/drivers/dri/r200/r200_state.c +++ b/src/mesa/drivers/dri/r200/r200_state.c @@ -2308,6 +2308,9 @@ static GLboolean r200ValidateBuffers(GLcontext *ctx) RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0); } + if (rmesa->radeon.dma.current) + radeon_validate_bo(&rmesa->radeon, rmesa->radeon.dma.current, RADEON_GEM_DOMAIN_GTT, 0); + return radeon_revalidate_bos(ctx); } |