Skip to content

backend/drm: don't destroy previous DRM master blobs

Simon Ser requested to merge emersion/wlroots:kms-own-mode-id into master

On startup, we fetch the previous MODE_ID blob ID so that compositors can keep using the previous mode if they want to. However, that blob doesn't belong to us, it belongs to the previous DRM master. As a result, we get an error when trying to destroy it.

Fix this by tracking whether the blob belongs to us or not.

Closes: #3811 (closed)

Merge request reports