backends/drm: re-enable buffer readability checks on i915
We're checking the egl fence fd now, instead of the dmabuf directly, which shouldn't be affected by the same issue
This commit is contained in:
parent
a167657214
commit
ecb6460277
1 changed files with 2 additions and 4 deletions
|
@ -39,10 +39,8 @@ DrmFramebuffer::DrmFramebuffer(DrmGpu *gpu, uint32_t fbId, GraphicsBuffer *buffe
|
|||
, m_gpu(gpu)
|
||||
, m_bufferRef(buffer)
|
||||
{
|
||||
if (s_disableBufferWait || ((m_gpu->isI915() || m_gpu->isVmwgfx()) && !s_envIsSet)) {
|
||||
// buffer readability checks cause frames to be wrongly delayed on some Intel laptops
|
||||
// and on Virtual Machines running vmwgfx
|
||||
// See https://gitlab.freedesktop.org/drm/intel/-/issues/9415
|
||||
if (s_disableBufferWait || ((m_gpu->isVmwgfx()) && !s_envIsSet)) {
|
||||
// buffer readability checks cause frames to be wrongly delayed on Virtual Machines running vmwgfx
|
||||
m_readable = true;
|
||||
}
|
||||
m_syncFd = std::move(readFence);
|
||||
|
|
Loading…
Reference in a new issue