freedreno/drm-shim: pretend to offer DRM 1.6.0

turnip's DRM device interface requires version 1.6 (for SYNCOBJ).
To unblock use of turnip over drm-shim, raise shim's version to 1.6.
This allows to see shader disassembly, while submission fails with

DRM_SHIM: unhandled core DRM ioctl 0xC4 (0xc01064c4)
TU: error: DRM_IOCTL_SYNCOBJ_RESET failure: Invalid argument

Signed-off-by: Alexander Monakov <amonakov@ispras.ru>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11331>
This commit is contained in:
Alexander Monakov 2021-06-11 23:29:57 +03:00 committed by Marge Bot
parent bc1c527834
commit a5e4fc3ff5

View file

@ -292,7 +292,7 @@ drm_shim_driver_init(void)
/* msm uses the DRM version to expose features, instead of getparam. */
shim_device.version_major = 1;
shim_device.version_minor = 5;
shim_device.version_minor = 6;
shim_device.version_patchlevel = 0;
msm_driver_get_device_info();