diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-04-10 13:16:16 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-04-10 22:11:17 +0100 |
commit | e5829165c2ef96140c222429c0f174fb72c4324b (patch) | |
tree | 249791a398a5afbae305364b3a46f4796bb00da2 /lib/media_fill.h | |
parent | 7c474e011548d35df6b80ceed81d3e6ca560c71d (diff) |
lib: Dump meminfo and slabinfo if we complain about insufficient memory
All too frequently, we fail our memory checks to a leak in the driver.
While we give every opportunity for the driver to release the memory
before we fail, if we do dump the meminfo and slabinfo, if available, so
we can assign blame^W^W resolve the problem quickly.
References: https://bugs.freedesktop.org/show_bug.cgi?id=105967
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Martin Peres <martin.peres@linux.intel.com>
Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
Reviewed-by: Antonio Argenziano <antonio.argenziano@intel.com>
Diffstat (limited to 'lib/media_fill.h')
0 files changed, 0 insertions, 0 deletions