diff options
author | Nanley Chery <[email protected]> | 2018-04-30 10:40:18 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2018-05-17 07:06:41 -0700 |
commit | 816f2dc67da72be8993e724aeda4c2ec2f5a2978 (patch) | |
tree | 864319b677225316a7f4ba4043a4b010f73515d6 /src/amd | |
parent | 1fba2e10b3f383953412fb2d6fcf4cd5cff6dea7 (diff) |
i965/miptree: Fix handling of uninitialized MCS buffers
Before this patch, if we failed to initialize an MCS buffer, we'd
end up in a state in which the miptree thinks it has an MCS buffer,
but doesn't. We also leaked the clear_color_bo if it existed.
With this patch, we now free the miptree aux buffer resources and let
intel_miptree_alloc_mcs() know that the MCS buffer no longer exists.
Cc: <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/amd')
0 files changed, 0 insertions, 0 deletions