Commit 97939cea authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: fix blob updating

Two things about the code were wrong:
1. m_current is used in updateBlob() but was only updated afterwards
2. the assumption that the property having the same ID means it has the
same blob contents is not always true

BUG: 449285
parent 8955a242
Pipeline #212906 passed with stage
in 40 minutes and 39 seconds
......@@ -112,10 +112,8 @@ bool DrmProperty::needsCommit() const
void DrmProperty::setCurrent(uint64_t value)
if (m_current != value) {
m_current = value;
m_current = value;
uint64_t DrmProperty::current() const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment