diff options
author | Eric Anholt <[email protected]> | 2008-02-14 16:14:00 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-02-15 11:51:32 -0800 |
commit | c51eb3ec401e78dd14ccd95304599909045b17b6 (patch) | |
tree | 5f0def3c5cfc35c75fd9ef591a1d96f394935b07 /src/mesa/drivers/dri/common | |
parent | 39bcbe0921e8a31b55ebee8726d2091fc5e0dd22 (diff) |
[intel] Bug #13636: Allow recursive buffer mapping in bufmgr_ttm.
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_bufmgr_fake.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_bufmgr_fake.c b/src/mesa/drivers/dri/common/dri_bufmgr_fake.c index 7212ee84ab1..8f67798a085 100644 --- a/src/mesa/drivers/dri/common/dri_bufmgr_fake.c +++ b/src/mesa/drivers/dri/common/dri_bufmgr_fake.c @@ -712,7 +712,10 @@ dri_fake_bo_map(dri_bo *bo, GLboolean write_enable) if (bo_fake->is_static) return 0; - /* Allow recursive mapping, which is used internally in relocation. */ + /* Allow recursive mapping. Mesa may recursively map buffers with + * nested display loops, and it is used internally in bufmgr_fake + * for relocation. + */ if (bo_fake->map_count++ != 0) return 0; |