Commit 3af37c8a 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

(cherry picked from commit 97939cea)
parent aa5fc423
Pipeline #212927 passed with stage
in 28 minutes and 51 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