From c8635b6fd350baaf85e87f06ffb76b080094df17 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 14 May 2020 16:43:56 -0700 Subject: [PATCH] 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: --- src/intel/tools/intel_noop_drm_shim.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.30.2