Skip to content
Snippets Groups Projects
Commit 63299522 authored by Lionel Landwerlin's avatar Lionel Landwerlin
Browse files

intel/dump_gpu: handle context create extended ioctl


Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: default avatarRafael Antognolli <rafael.antognolli@intel.com>
parent ae454a03
No related branches found
No related tags found
Loading
...@@ -492,6 +492,21 @@ ioctl(int fd, unsigned long request, ...) ...@@ -492,6 +492,21 @@ ioctl(int fd, unsigned long request, ...)
return ret; return ret;
} }
case DRM_IOCTL_I915_GEM_CONTEXT_CREATE_EXT: {
uint32_t *ctx_id = NULL;
struct drm_i915_gem_context_create_ext *create = argp;
ret = 0;
if (!device_override) {
ret = libc_ioctl(fd, request, argp);
ctx_id = &create->ctx_id;
}
if (ret == 0)
create->ctx_id = dump_create_context(fd, ctx_id);
return ret;
}
case DRM_IOCTL_I915_GEM_CREATE: { case DRM_IOCTL_I915_GEM_CREATE: {
struct drm_i915_gem_create *create = argp; struct drm_i915_gem_create *create = argp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment