aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2018-04-30 10:40:18 -0700
committerNanley Chery <[email protected]>2018-05-17 07:06:41 -0700
commit816f2dc67da72be8993e724aeda4c2ec2f5a2978 (patch)
tree864319b677225316a7f4ba4043a4b010f73515d6 /src/amd
parent1fba2e10b3f383953412fb2d6fcf4cd5cff6dea7 (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