diff options
| author | Janusz Krzysztofik <[email protected]> | 2020-02-04 16:23:02 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-02-08 11:26:03 +0000 |
| commit | f6c26b555e14fb2b35239cb0d66963e996ec100c (patch) | |
| tree | b8480ef7ff6335cb3b34d42be4c3ebcbb7ad5b7a /tools/perf/scripts/python/bin | |
| parent | 6311d260a1794d8ccef0ac8b39405fea0e1d9474 (diff) | |
drm/i915: Never allow userptr into the new mapping types
Commit 4f2a572eda67 ("drm/i915/userptr: Never allow userptr into the
mappable GGTT") made I915_GEM_MMAP_GTT IOCTLs to fail when attempted
on a userptr object in order to protect from a lockdep splat. Later
on, new mapping types were introduced by commit cc662126b413
("drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET"). Those new mapping
types suffer from the same lockdep splat issue but they now succeed
when tried on top of a userptr object. Fix it.
v2: Don't play with the -ENODEV driver response (Chris)
Signed-off-by: Janusz Krzysztofik <[email protected]>
Cc: Abdiel Janulgue <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions