Chromium Code Reviews
Descriptionozone: drm: Fix graphics buffer handle leak in DrmConsoleBuffer
We are leaking graphics buffer handles every time we plug in a display.
The handle is created by DRM_IOCTL_MODE_GETFB. This adds a call to
DRM_IOCTL_GEM_CLOSE to release the handle.
BUG=470772
TEST=plug & unplug HDMI repeatedly. No significant increase in shared
memory usage over time (as reported by "free" command).
Committed: https://crrev.com/756bbb93152e169e92e5e21b82ba724dac2f1822
Cr-Commit-Position: refs/heads/master@{#325769}
Patch Set 1 #Patch Set 2 : switch to DRM_IOCTL_GEM_CLOSE per marcheu@ #
Messages
Total messages: 8 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||