protocols/syncobj: fix DRM sync obj support logging (#12946)
This commit is contained in:
parent
5e18111121
commit
8d03fcc8d7
1 changed files with 4 additions and 4 deletions
|
|
@ -372,11 +372,11 @@ void CCompositor::initServer(std::string socketName, int socketFd) {
|
||||||
return ret == 0 && cap != 0;
|
return ret == 0 && cap != 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
if ((m_drm.syncobjSupport = syncObjSupport(m_drm.fd)))
|
m_drm.syncobjSupport = syncObjSupport(m_drm.fd);
|
||||||
Log::logger->log(Log::DEBUG, "DRM DisplayNode syncobj timeline support: {}", m_drm.syncobjSupport ? "yes" : "no");
|
Log::logger->log(Log::DEBUG, "DRM DisplayNode syncobj timeline support: {}", m_drm.syncobjSupport ? "yes" : "no");
|
||||||
|
|
||||||
if ((m_drmRenderNode.syncObjSupport = syncObjSupport(m_drmRenderNode.fd)))
|
m_drmRenderNode.syncObjSupport = syncObjSupport(m_drmRenderNode.fd);
|
||||||
Log::logger->log(Log::DEBUG, "DRM RenderNode syncobj timeline support: {}", m_drmRenderNode.syncObjSupport ? "yes" : "no");
|
Log::logger->log(Log::DEBUG, "DRM RenderNode syncobj timeline support: {}", m_drmRenderNode.syncObjSupport ? "yes" : "no");
|
||||||
|
|
||||||
if (!m_drm.syncobjSupport && !m_drmRenderNode.syncObjSupport)
|
if (!m_drm.syncobjSupport && !m_drmRenderNode.syncObjSupport)
|
||||||
Log::logger->log(Log::DEBUG, "DRM no syncobj support, disabling explicit sync");
|
Log::logger->log(Log::DEBUG, "DRM no syncobj support, disabling explicit sync");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue