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

Issue 2302733003: [wip] Kill GPU if the memory buffer cannot be used as advertised.

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

Description

[wip] Kill GPU if the memory buffer cannot be used as advertised. ... BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M content/browser/gpu/browser_gpu_memory_buffer_manager.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc View 1 chunk +2 lines, -1 line 2 comments Download

Depends on Patchset:

Messages

Total messages: 10 (6 generated)
sadrul
This is what I was thinking the next step could be after https://codereview.chromium.org/2302053003/. But I ...
4 years, 3 months ago (2016-09-02 01:11:22 UTC) #5
rjkroege
but.. I think it would be useful to know why we're doing the force shutdown. ...
4 years, 3 months ago (2016-09-02 01:14:29 UTC) #6
sadrul
On 2016/09/02 01:14:29, rjkroege wrote: > but.. I think it would be useful to know ...
4 years, 3 months ago (2016-09-02 03:59:53 UTC) #9
rjkroege
4 years, 3 months ago (2016-09-02 19:38:49 UTC) #10
On 2016/09/02 03:59:53, sadrul wrote:
> On 2016/09/02 01:14:29, rjkroege wrote:
> > but.. I think it would be useful to know why we're doing the force shutdown.
> > i.e.: the handle that came from the gpu process was invalid.
> 
> Do you mean plumb-back the reason for the failure from here back into content?

Yes. We have an infrastructure in place to record the site responsible for a gpu
process crash. We should track which sites are open such that the GPU process
has sent us an invalid memory buffer handle.

> 
>
https://codereview.chromium.org/2302733003/diff/1/gpu/ipc/client/gpu_memory_b...
> File gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right):
> 
>
https://codereview.chromium.org/2302733003/diff/1/gpu/ipc/client/gpu_memory_b...
> gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:71: if
> (!native_pixmap)
> On 2016/09/02 01:14:29, rjkroege wrote:
> > yeah. I think so.
> 
> Not sure what you are agreeing with here :)

The code. Maybe.

Powered by Google App Engine
This is Rietveld 408576698