Mesa (main): intel/stub: Implement I915_PARAM_HAS_USERPTR_PROBE

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Dec 9 19:22:43 UTC 2021


Module: Mesa
Branch: main
Commit: c5d731ac5cc0e2a85544ff7a73142dcb80768335
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5d731ac5cc0e2a85544ff7a73142dcb80768335

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Dec  6 13:04:41 2021 -0800

intel/stub: Implement I915_PARAM_HAS_USERPTR_PROBE

Just say no for now.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14132>

---

 src/intel/tools/intel_noop_drm_shim.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/intel/tools/intel_noop_drm_shim.c b/src/intel/tools/intel_noop_drm_shim.c
index fbb475da9ac..bec9459f0ea 100644
--- a/src/intel/tools/intel_noop_drm_shim.c
+++ b/src/intel/tools/intel_noop_drm_shim.c
@@ -212,6 +212,9 @@ i915_ioctl_get_param(int fd, unsigned long request, void *arg)
    case I915_PARAM_PERF_REVISION:
       *gp->value = 3;
       return 0;
+   case I915_PARAM_HAS_USERPTR_PROBE:
+      *gp->value = 0;
+      return 0;
    default:
       break;
    }



More information about the mesa-commit mailing list