From: Ian Romanick Date: Thu, 14 May 2020 23:43:56 +0000 (-0700) Subject: intel/drm-shim: Add noop ioctl handler for set_tiling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8635b6fd350baaf85e87f06ffb76b080094df17;p=mesa.git 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: 0f4f1d70bfe ("intel: add stub_gpu tool") Reviewed-by: Lionel Landwerlin Part-of: --- diff --git a/src/intel/tools/intel_noop_drm_shim.c b/src/intel/tools/intel_noop_drm_shim.c index 205dc2df3da..89d1ce50e26 100644 --- a/src/intel/tools/intel_noop_drm_shim.c +++ b/src/intel/tools/intel_noop_drm_shim.c @@ -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,