Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Issue 12340118: GPU: Only allow the UI channel to preempt if all stubs are scheduled. (Closed)

Created:
7 years, 9 months ago by jonathan.backer
Modified:
7 years, 9 months ago
Reviewers:
piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

GPU: Only allow the UI channel to preempt if all stubs are scheduled. Necessary for uber-comp with --ui-prioritize-in-gpu-process. Currently will not affect preemption. BUG=173650 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185445

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address reviewer comments. #

Total comments: 2

Patch Set 3 : Fix nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -44 lines) Patch
M content/common/gpu/gpu_channel.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 2 11 chunks +117 lines, -21 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 chunks +3 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gpu_scheduler.h View 1 2 chunks +7 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/gpu_scheduler.cc View 1 3 chunks +9 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jonathan.backer
I think this solves the problem in crbug.com/173650 without adding more complication to the preemption ...
7 years, 9 months ago (2013-02-27 21:21:45 UTC) #1
piman
https://codereview.chromium.org/12340118/diff/1/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/12340118/diff/1/content/common/gpu/gpu_channel.cc#newcode218 content/common/gpu/gpu_channel.cc:218: void UpdateStubSchedulingState(bool a_stub_is_descheduled) { I'm afraid this will kick ...
7 years, 9 months ago (2013-02-27 21:54:43 UTC) #2
jonathan.backer
https://codereview.chromium.org/12340118/diff/1/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/12340118/diff/1/content/common/gpu/gpu_channel.cc#newcode218 content/common/gpu/gpu_channel.cc:218: void UpdateStubSchedulingState(bool a_stub_is_descheduled) { On 2013/02/27 21:54:43, piman wrote: ...
7 years, 9 months ago (2013-02-28 21:43:56 UTC) #3
piman
LGTM + nit Teardown looks fine - the assumption is that you want to count ...
7 years, 9 months ago (2013-02-28 22:27:48 UTC) #4
jonathan.backer
https://codereview.chromium.org/12340118/diff/11002/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/12340118/diff/11002/content/common/gpu/gpu_channel.cc#newcode896 content/common/gpu/gpu_channel.cc:896: OnScheduled(); On 2013/02/28 22:27:48, piman wrote: > nit: this ...
7 years, 9 months ago (2013-03-01 00:42:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/backer@chromium.org/12340118/6002
7 years, 9 months ago (2013-03-01 00:43:40 UTC) #6
commit-bot: I haz the power
7 years, 9 months ago (2013-03-01 03:42:12 UTC) #7
Message was sent while issue was closed.
Change committed as 185445

Powered by Google App Engine
This is Rietveld 408576698