commit | cc6ea778fd064aa06cca69a716aeb21cb4218ca8 | [log] [tgz] |
---|---|---|
author | Zhenyao Mo <[email protected]> | Thu Apr 25 22:33:51 2019 |
committer | Commit Bot <[email protected]> | Thu Apr 25 22:33:51 2019 |
tree | 8d851fcb8ad6dbb803377d15aeaacf894c06ff1e | |
parent | 4d269cd30bf65cabfd4e3d13c0714ccbd1070f69 [diff] [blame] |
Allow GPU watchdog to keep waiting for acknowledgement if we know one is already issued by the monitored thread. This is done through a finch experiment, so we can see if how this strategy affects GPU crashes. BUG=885066 TEST=compile [email protected] Change-Id: I51289c3bd4cc27d0361e3cda6742cdb62b4e0116 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1582976 Reviewed-by: Antoine Labour <[email protected]> Commit-Queue: Zhenyao Mo <[email protected]> Cr-Commit-Position: refs/heads/master@{#654225}
diff --git a/gpu/config/gpu_finch_features.cc b/gpu/config/gpu_finch_features.cc index 5b8e38f..1b183bc7 100644 --- a/gpu/config/gpu_finch_features.cc +++ b/gpu/config/gpu_finch_features.cc
@@ -74,6 +74,12 @@ const base::Feature kDirectCompositionUnderlays{ "DirectCompositionUnderlays", base::FEATURE_ENABLED_BY_DEFAULT}; +// Allow GPU watchdog to keep waiting for ackowledgement if one is already +// issued from the monitored thread. +const base::Feature kGpuWatchdogNoTerminationAwaitingAcknowledge{ + "GpuWatchdogNoTerminationAwaitingAcknowledge", + base::FEATURE_DISABLED_BY_DEFAULT}; + // Causes us to use the SharedImageManager, removing support for the old // mailbox system. Any consumers of the GPU process using the old mailbox // system will experience undefined results.