intel/drm-shim: Add noop ioctl handler for set_tiling
When using the shim for HSW and earlier, this fixes:
DRM_SHIM: unhandled driver DRM ioctl 33 (0xc0106461)
Fixes: 0f4f1d70bf ("intel: add stub_gpu tool")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5061>
This commit is contained in:
@@ -296,6 +296,7 @@ static ioctl_fn_t driver_ioctls[] = {
|
||||
|
||||
[DRM_I915_GEM_CREATE] = i915_ioctl_gem_create,
|
||||
[DRM_I915_GEM_MMAP] = i915_ioctl_gem_mmap,
|
||||
[DRM_I915_GEM_SET_TILING] = i915_ioctl_noop,
|
||||
[DRM_I915_GEM_CONTEXT_CREATE] = i915_ioctl_gem_context_create,
|
||||
[DRM_I915_GEM_CONTEXT_DESTROY] = i915_ioctl_noop,
|
||||
[DRM_I915_GEM_CONTEXT_GETPARAM] = i915_ioctl_gem_context_getparam,
|
||||
|
||||
Reference in New Issue
Block a user