New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 805648 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Gracefully handle failure to allocate a scanout buffer for overlay

Project Member Reported by ddavenp...@chromium.org, Jan 24 2018

Issue description

GpuMemoryBufferVideoFramePool tries to allocate a scanout buffer for video overlay/underlay. In DrmThread::CreateBuffer, if a scanout buffer cannot be created, it falls back to allocating a buffer without BO_USE_SCANOUT.

In this case, it should fall back gracefully, but on Chrome OS (kahlee), allocating the video frame buffer without scanout led to a CHECK in the gpu process.

To reproduce this, revert https://chromium-review.googlesource.com/c/chromium/src/+/884401
 
Another failure cases that lead to this CHECK is a failure in HardwareDisplayPlaneManager::AssignOverlayPlanes

Sign in to add a comment