diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2011-10-25 17:43:58 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2011-10-27 19:30:28 +0200 |
commit | a3bb07efb1757c33d70e2e1928219d12a4dd6498 (patch) | |
tree | bd0aa32e5025effe734c5c341aa95f26a76b3656 /src/radeon.h | |
parent | 23788c4a5e3b6affb9b183e1393edd0e5ca4550e (diff) |
EXA >= R6xx / KMS: Avoid running out of CS space at inconvenient times.
Otherwise we may end up with things not properly set up at the beginning of the
next CS.
Fixes http://bugs.debian.org/645007 .
In contrast to the Composite code for < R6xx, this isn't necessary with UMS,
as the draw packet only uses constant space in the indirect buffer, and nothing
else can mess with the 3D state between indirect buffers.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h index 50ce62fc..73d6db1e 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -735,12 +735,13 @@ struct radeon_accel_state { // UTS/DFS drmBufPtr scratch; - // copy + // solid/copy ExaOffscreenArea *copy_area; struct radeon_bo *copy_area_bo; Bool same_surface; int rop; uint32_t planemask; + uint32_t fg; // composite Bool component_alpha; |