Summary: | Valgrind warnings in _mesa_texstore_argb8888 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Lionel Landwerlin <lionel.g.landwerlin> |
Component: | Drivers/DRI/i965 | Assignee: | Chris Wilson <chris> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | lowest | ||
Version: | 7.10 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Lionel Landwerlin
2011-03-06 16:00:20 UTC
valgrind doesn't know that the mmapping is valid. I forget what the conclusion was on whether we would ever be able to convince valgrind that mmap had actually happened, inside of libdrm. There were patches floating around at one point. commit 90b23cc24c19fbe131d84237c55311cafeb4ca21 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Feb 9 10:23:10 2012 +0000 intel: Mark up with valgrind intrinsics to reduce false positives In particular, declare the hidden CPU mmaps to valgrind so that it knows about those memory regions. v2: Add an additional VG_CLEAR for the getparam References: https://bugs.freedesktop.org/show_bug.cgi?id=35071 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Ben Widawsky <ben@bwidawsk.net> [anholt: Ideally valgrind should just learn about the ioctls, and removing the clear for the non-valgrindified code feels risky.] Reviewed-by: Eric Anholt <eric@anholt.net> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.