diff options
author | Matthew Auld <matthew.auld@intel.com> | 2022-02-25 17:55:01 +0300 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2022-02-28 11:47:35 +0300 |
commit | f199bf55104d480370515bc736418808e5cfa6b9 (patch) | |
tree | 664e1166283b149f3e1dab8dd80a6c037f30b2a4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f9eb742988e20fb86926de8ad18d7e93b53d1a62 (diff) | |
download | linux-f199bf55104d480370515bc736418808e5cfa6b9.tar.xz |
drm/i915/buddy: tweak 2big check
Otherwise we get -EINVAL, instead of the more useful -E2BIG if the
allocation doesn't fit within the pfn range, like with mappable lmem.
The hugepages selftest, for example, needs this to know if a smaller
size is needed.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Acked-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220225145502.331818-6-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions