Backed out changeset bd51857879db (bug 1862957) for causing WakeLock related failures. CLOSED TREE

This commit is contained in:
Stanca Serban 2023-11-08 14:30:54 +02:00
parent 582e249d86
commit 7adce61c32

View File

@ -217,11 +217,11 @@ void gfxPlatformGtk::InitDmabufConfig() {
"FEATURE_FAILURE_REQUIRES_EGL"_ns);
}
nsAutoCString drmRenderDevice;
gfxInfo->GetDrmRenderDevice(drmRenderDevice);
gfxVars::SetDrmRenderDevice(drmRenderDevice);
if (feature.IsEnabled()) {
nsAutoCString drmRenderDevice;
gfxInfo->GetDrmRenderDevice(drmRenderDevice);
gfxVars::SetDrmRenderDevice(drmRenderDevice);
if (!GetDMABufDevice()->IsEnabled(failureId)) {
feature.ForceDisable(FeatureStatus::Failed, "Failed to configure",
failureId);