freedreno/drm-shim: pretend to offer DRM 1.6.0
authorAlexander Monakov <amonakov@ispras.ru>
Fri, 11 Jun 2021 20:29:57 +0000 (23:29 +0300)
committerMarge Bot <eric+marge@anholt.net>
Mon, 14 Jun 2021 17:30:01 +0000 (17:30 +0000)
commita5e4fc3ff5723b5738c5ecea6904c638da1c4c9e
treea0bea6c486756ef9ad7f789eb5155b4e52f6ddd3
parentbc1c527834904825f310d33de4682ce1e36b97a7
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>
src/freedreno/drm-shim/freedreno_noop.c