summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bbox.c
diff options
context:
space:
mode:
authorBen Widawsky <[email protected]>2016-10-21 14:17:21 +0100
committerLionel Landwerlin <[email protected]>2016-11-08 16:13:57 +0000
commit42db7ab1794e3de24acb15593db93c4f6d57ae32 (patch)
treeee203334cc2d6df5a92415f83a8386ee3918862d /src/mesa/main/bbox.c
parent0041169cacb300a882b4dc38cd341f98bf2a7c38 (diff)
i965/miptree: Directly gtt map the mcs buffer
The next patch will change the map type, and this will make sure there are no regressions as a result of the other stuff. Since the miptree is newly created, I believe it is always safe to just map. It is possible to CPU map this buffer on LLC platforms (it additionally requires rounding up to tile size). I did experiment with that patch, and found no performance gains to be had. I've added in error handling while here. Generally GTT mapping is an operation which is highly unlikely to fail, but we may as well handle it when it does. v2: rebase on master (Lionel) v3: print out error if gtt mapping fails (Topi) Signed-off-by: Ben Widawsky <[email protected]> (v1) Signed-off-by: Lionel Landwerlin <[email protected]> (v2) Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/main/bbox.c')
0 files changed, 0 insertions, 0 deletions