DRM cleans up and restores the framebuffer on the closing of the last file handle for the /dev/dri/cardN device. If you're keeping it open for the UI process (and presumably have passed it across to the player process) then that doesn't apply, so there is no cleanup.
Yes calling DRM_IOCTL_PRIME_FD_TO_HANDLE increases the refcount on the underlying allocation, and will hold it until all refcount are released.
Yes calling DRM_IOCTL_PRIME_FD_TO_HANDLE increases the refcount on the underlying allocation, and will hold it until all refcount are released.
Statistics: Posted by 6by9 — Fri Dec 27, 2024 9:08 pm