diff options
author | Nicolai Hähnle <[email protected]> | 2015-11-28 00:02:26 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-11-30 00:13:22 +0000 |
commit | 3d525c86506feb80597a180675c66754809dfcf8 (patch) | |
tree | c95cfa408b17d53e20353b7fb6357f0bd0d70771 /Android.mk | |
parent | 9b9fff6830e4f3b46f5ada810f10740f9fab8f84 (diff) |
radeon: only suspend queries on flush if they haven't been suspended yet
Non-timer queries are suspended during blits. When the blits end, the queries
are resumed, but this resume operation itself might run out of CS space and
trigger a flush. When this happens, we must prevent a duplicate suspend during
preflush suspend, and we must also prevent a duplicate resume when the CS flush
returns back to the original resume operation.
This fixes a regression that was introduced by:
commit 8a125afa6e88a3eeddba8c7fdc1a75c9b99d5489
Author: Nicolai Hähnle <[email protected]>
Date: Wed Nov 18 18:40:22 2015 +0100
radeon: ensure that timing/profiling queries are suspended on flush
The queries_suspended_for_flush flag is redundant because suspended queries
are not removed from their respective linked list.
Reviewed-by: Marek Olšák <[email protected]>
Reported-by: Axel Davy <[email protected]>
Cc: "11.1" <[email protected]>
Tested-by: Axel Davy <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 9e5e702cfb380af461062c96d974027da8d5f17a)
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions