This series is :
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
On 03/05/17 19:44, Kenneth Graunke wrote:
Newer Mesa requires this. It's irrelevant for us; pretend to have it.
---
intel_stub.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/intel_stub.c b/intel_stub.c
index 4917656..7f85678 100644
--- a/intel_stub.c
+++ b/intel_stub.c
@@ -192,11 +192,14 @@ ioctl(int fd, unsigned long request, ...)
case DRM_IOCTL_I915_GETPARAM: {
struct drm_i915_getparam *getparam = argp;
- if (getparam->param == I915_PARAM_HAS_RELAXED_DELTA)
+ switch (getparam->param) {
+ case I915_PARAM_HAS_RELAXED_DELTA:
+ case I915_PARAM_HAS_WAIT_TIMEOUT:
*getparam->value = 1;
-
- else if (getparam->param == I915_PARAM_CHIPSET_ID) {
- *getparam->value =
strtod(getenv("INTEL_DEVID_OVERRIDE"), NULL);
+ break;
+ case I915_PARAM_CHIPSET_ID:
+ *getparam->value =
strtod(getenv("INTEL_DEVID_OVERRIDE"), NULL);
+ break;
}
return 0;
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev