git: drm - Fix memory leak in broadwell or later GPUs
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Dec 16 11:50:23 PST 2016
commit 6fe294aeab8ee15cd7a543c950ed3d644755dc18
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Dec 16 11:38:35 2016 -0800
drm - Fix memory leak in broadwell or later GPUs
* vunmap() linux compatibility code was not implemented, leading to a
memory leak for certain operations in newer GPUs. Browsers tend to
tickle the code paths in question.
* Implement vunmap() to fix the leak.
Summary of changes:
sys/dev/drm/i915/i915_cmd_parser.c | 4 ++--
sys/dev/drm/i915/intel_ringbuffer.c | 8 +++++---
sys/dev/drm/i915/intel_ringbuffer.h | 1 +
sys/dev/drm/include/linux/vmalloc.h | 9 +++++++--
4 files changed, 15 insertions(+), 7 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6fe294aeab8ee15cd7a543c950ed3d644755dc18
--
DragonFly BSD source repository
More information about the Commits
mailing list