diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2022-07-27 19:40:23 +0200 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2022-07-28 11:14:38 +0100 |
commit | a8c18bec83a82a90d5e35a080bc465581459313e (patch) | |
tree | b3a6d8a2ac4f42a1594d498092da6e131441b386 /drivers/gpu/ipu-v3/ipu-prg.c | |
parent | b25c377a5b26f107ea831af05919fc3782aabebc (diff) |
drm/i915: Suppress oom warning for shmemfs object allocation failure
We report object allocation failures to userspace with ENOMEM, yet we
still show the memory warning after failing to shrink device allocated
pages. While this warning is similar to other system page allocation
failures, it is superfluous to the ENOMEM provided directly to
userspace.
v2: Add NOWARN in few more places from where we might return
ENOMEM to userspace.
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/4936
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Co-developed-by: Nirmoy Das <nirmoy.das@intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220727174023.16766-1-nirmoy.das@intel.com
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-prg.c')
0 files changed, 0 insertions, 0 deletions