vc4: Fix simulator mode missing-GETPARAM debug info.
authorEric Anholt <eric@anholt.net>
Thu, 17 Nov 2016 01:22:35 +0000 (17:22 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 17 Nov 2016 03:45:01 +0000 (19:45 -0800)
The value is 0 since we didn't set it, we wanted to see the param.

src/gallium/drivers/vc4/vc4_simulator.c

index 43e7f97..82ffaab 100644 (file)
@@ -625,7 +625,7 @@ vc4_simulator_get_param_ioctl(int fd, struct drm_vc4_get_param *args)
 
         default:
                 fprintf(stderr, "Unknown DRM_IOCTL_VC4_GET_PARAM(%lld)\n",
-                        (long long)args->value);
+                        (long long)args->param);
                 abort();
         };
 }