intel/drm-shim: Add noop ioctl handler for set_tiling
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 14 May 2020 23:43:56 +0000 (16:43 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 18:55:29 +0000 (18:55 +0000)
commitc8635b6fd350baaf85e87f06ffb76b080094df17
tree21a5a7ec77e83a7c2f366e14e7c155028b4f95bb
parentf8314291b33c7e33b859ffb678a330ca7ae47c9a
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 <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5061>
src/intel/tools/intel_noop_drm_shim.c