Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5091

Graphics programming • Re: drmModeAtomicCommit leaves terminated process frame buffer

$
0
0
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.

Statistics: Posted by 6by9 — Fri Dec 27, 2024 9:08 pm



Viewing all articles
Browse latest Browse all 5091

Trending Articles