Mesa (main): freedreno/drm-shim: pretend to offer DRM 1.6.0
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 14 17:48:41 UTC 2021
Module: Mesa
Branch: main
Commit: a5e4fc3ff5723b5738c5ecea6904c638da1c4c9e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5e4fc3ff5723b5738c5ecea6904c638da1c4c9e
Author: Alexander Monakov <amonakov at ispras.ru>
Date: Fri Jun 11 23:29:57 2021 +0300
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 at ispras.ru>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11331>
---
src/freedreno/drm-shim/freedreno_noop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/freedreno/drm-shim/freedreno_noop.c b/src/freedreno/drm-shim/freedreno_noop.c
index 2b1df968f27..4476bebcaa9 100644
--- a/src/freedreno/drm-shim/freedreno_noop.c
+++ b/src/freedreno/drm-shim/freedreno_noop.c
@@ -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();
More information about the mesa-commit
mailing list