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:
Xaver Hugl 2024-06-05 14:29:50 +02:00
parent a167657214
commit ecb6460277

View file

@ -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);