diff options
author | Keith Packard <keithp@keithp.com> | 2008-11-21 01:49:39 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-12-17 10:28:25 -0800 |
commit | b13f4e1a32ab98fa719a3233cad59ff4d49cfb38 (patch) | |
tree | 2db858f4c271637c86ae3a4a1d65df00a16e35f6 /libdrm/intel/mm.c | |
parent | 731cd5526e5c732d51307b26e784f454a724a699 (diff) |
intel: Dump out memory usage information when the kernel fails to pin
The execbuffer ioctl returns ENOMEM when it fails to pin all of the buffers
in the GTT. This is usually caused by the DRM client attempting to use too
much memory in a single request. Dumping out the requested and available
memory values should help point out failures in the DRM code to catch over
commitments of this form.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'libdrm/intel/mm.c')
0 files changed, 0 insertions, 0 deletions