aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2014-03-25 13:23:03 +0000
committerDaniel Vetter <[email protected]>2014-05-20 09:45:22 +0200
commit0820baf39bd95dcbbc3600bd7f50b137f41ebb8a (patch)
tree5144ebd78efeab36b99f483e3fd1b509f60d7209 /tools/perf/scripts/python/netdev-times.py
parentb6fdd0f2b990006daba19eec676b632faa523fc8 (diff)
drm/i915: Translate ENOSPC from shmem_get_page() to ENOMEM
shmemfs first checks if there is enough memory to allocate the page and reports ENOSPC should there be insufficient, along with the usual ENOMEM for a genuine allocation failure. We use ENOSPC in our driver to mean that we have run out of aperture space and so want to translate the error from shmemfs back to our usual understanding of ENOMEM. None of the the other GEM users appear to distinguish between ENOMEM and ENOSPC in their error handling, hence it is easiest to do the fixup in i915.ko Cc: Hugh Dickins <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Robert Beckett <[email protected]> Reviewed-by: Rafael Barbalho <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions