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

Issue 2878573002: gpu: guarantee to match pending GBM buffer request to actual GBM handle (Closed)

Created:
3 years, 7 months ago by dshwang
Modified:
3 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: guarantee to match pending GBM buffer request to actual GBM handle This CL makes |gpu_proecess_host| select the right callback by GMB id, not brute-force FIFO. It becomes more stable code for the future change. e.g. reordering IPC for priotization BUG=475633, 629521 Review-Url: https://codereview.chromium.org/2878573002 Cr-Commit-Position: refs/heads/master@{#471116} Committed: https://chromium.googlesource.com/chromium/src/+/e17baa4e12ee81c41668d7ef07e08a1a8e096dc6

Patch Set 1 #

Total comments: 4

Patch Set 2 : resolved nits #

Patch Set 3 : errata: GBM -> GpuMemoryBuffer #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -8 lines) Patch
M content/browser/gpu/gpu_process_host.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 chunks +14 lines, -7 lines 2 comments Download

Messages

Total messages: 36 (20 generated)
dshwang
Daniele, Reveman, could you review? I think it fix flaky mmap failure, according to Daniele's ...
3 years, 7 months ago (2017-05-10 20:48:30 UTC) #5
Daniele Castagna
On 2017/05/10 at 20:48:30, dongseong.hwang wrote: > Daniele, Reveman, could you review? > I think ...
3 years, 7 months ago (2017-05-10 20:54:55 UTC) #6
dshwang
On 2017/05/10 20:54:55, Daniele Castagna wrote: > On 2017/05/10 at 20:48:30, dongseong.hwang wrote: > > ...
3 years, 7 months ago (2017-05-10 21:08:17 UTC) #7
Daniele Castagna
On 2017/05/10 at 21:08:17, dongseong.hwang wrote: > On 2017/05/10 20:54:55, Daniele Castagna wrote: > > ...
3 years, 7 months ago (2017-05-10 21:12:16 UTC) #8
dshwang
On 2017/05/10 21:12:16, Daniele Castagna wrote: > On 2017/05/10 at 21:08:17, dongseong.hwang wrote: > > ...
3 years, 7 months ago (2017-05-10 21:18:29 UTC) #9
dshwang
piman@, could you review? It's by-product of effort fixing BUG=629521 I suspected request and handle ...
3 years, 7 months ago (2017-05-11 01:27:06 UTC) #12
piman
https://codereview.chromium.org/2878573002/diff/1/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/2878573002/diff/1/content/browser/gpu/gpu_process_host.cc#newcode798 content/browser/gpu/gpu_process_host.cc:798: create_gpu_memory_buffer_requests_.end()); Actually, because we shouldn't trust the GPU process, ...
3 years, 7 months ago (2017-05-11 18:04:44 UTC) #16
dshwang
thx for reviewing. could you take a look again? https://codereview.chromium.org/2878573002/diff/1/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/2878573002/diff/1/content/browser/gpu/gpu_process_host.cc#newcode798 content/browser/gpu/gpu_process_host.cc:798: ...
3 years, 7 months ago (2017-05-11 20:29:59 UTC) #18
piman
lgtm
3 years, 7 months ago (2017-05-11 20:31:53 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2878573002/40001
3 years, 7 months ago (2017-05-11 20:48:59 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/e17baa4e12ee81c41668d7ef07e08a1a8e096dc6
3 years, 7 months ago (2017-05-11 23:22:55 UTC) #30
jochen (gone - plz use gerrit)
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2879723003/ by jochen@chromium.org. ...
3 years, 7 months ago (2017-05-12 11:33:57 UTC) #31
reveman
On 2017/05/11 at 01:24:58, dongseong.hwang wrote: > dongseong.hwang@intel.com changed reviewers: > + piman@chromium.org > - ...
3 years, 7 months ago (2017-05-12 16:37:02 UTC) #32
dshwang
On 2017/05/12 16:37:02, reveman wrote: > On 2017/05/11 at 01:24:58, dongseong.hwang wrote: > > mailto:dongseong.hwang@intel.com ...
3 years, 7 months ago (2017-05-12 17:03:09 UTC) #33
Daniele Castagna
https://codereview.chromium.org/2878573002/diff/40001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/2878573002/diff/40001/content/browser/gpu/gpu_process_host.cc#newcode739 content/browser/gpu/gpu_process_host.cc:739: DCHECK(create_gpu_memory_buffer_requests_.find(id) == DS, do you know if this is ...
3 years, 7 months ago (2017-05-12 19:19:15 UTC) #35
dshwang
3 years, 7 months ago (2017-05-12 21:35:57 UTC) #36
Message was sent while issue was closed.
https://codereview.chromium.org/2878573002/diff/40001/content/browser/gpu/gpu...
File content/browser/gpu/gpu_process_host.cc (right):

https://codereview.chromium.org/2878573002/diff/40001/content/browser/gpu/gpu...
content/browser/gpu/gpu_process_host.cc:739:
DCHECK(create_gpu_memory_buffer_requests_.find(id) ==
On 2017/05/12 19:19:15, Daniele Castagna wrote:
> DS, do you know if this is the DCHECK that was going off?

I'm surprising the DCHECK fails. I tested just CHECK with same condition on
samus and it works well. I think we should figure out why it's failed.

Powered by Google App Engine
This is Rietveld 408576698