https://bugs.kde.org/show_bug.cgi?id=442603

--- Comment #7 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit 6e3c3936dc3924105c49f8e0b41bf789883d173b by Xaver Hugl, on behalf of
Vlad Zahorodnii.
Committed on 28/09/2021 at 18:05.
Pushed by zamundaaa into branch 'Plasma/5.23'.

platforms/drm: Avoid re-using blobs

Blobs are not reference counted if used by other drm master, if kwin
re-uses a deleted blob in an atomic commit, it will fail. For example,
on my computer, this happens when kwin starts after xorg.

Besides that, kwin may try to destroy blobs that it doesn't own, which
is not fatal but it's strange to do so.
Related: bug 439873

M  +12   -56   src/plugins/platforms/drm/drm_object.cpp
M  +1    -3    src/plugins/platforms/drm/drm_object.h
M  +8    -5    src/plugins/platforms/drm/drm_object_connector.cpp
M  +20   -17   src/plugins/platforms/drm/drm_object_plane.cpp

https://invent.kde.org/plasma/kwin/commit/6e3c3936dc3924105c49f8e0b41bf789883d173b

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to