Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Issue 1132803004: ozone: drm: Fix graphics buffer handle leak in DrmConsoleBuffer (Closed)

Created:
5 years, 7 months ago by spang
Modified:
5 years, 7 months ago
Reviewers:
CC:
chromium-reviews, kalyank, piman+watch_chromium.org, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2357
Target Ref:
refs/pending/branch-heads/2357
Project:
chromium
Visibility:
Public.

Description

ozone: 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). Review URL: https://codereview.chromium.org/1080923006 Cr-Commit-Position: refs/heads/master@{#325769} (cherry picked from commit 756bbb93152e169e92e5e21b82ba724dac2f1822) Committed: https://chromium.googlesource.com/chromium/src/+/0376981a83a48758bd3cbf6cd4337feb151e535f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M ui/ozone/platform/drm/gpu/drm_console_buffer.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_device.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_device.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/test/mock_drm_device.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/test/mock_drm_device.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
spang
5 years, 7 months ago (2015-05-12 04:44:26 UTC) #1
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
0376981a83a48758bd3cbf6cd4337feb151e535f.

Powered by Google App Engine
This is Rietveld 408576698