From: Eric Anholt Date: Thu, 17 Nov 2016 01:22:35 +0000 (-0800) Subject: vc4: Fix simulator mode missing-GETPARAM debug info. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7130260d1212d84d046c67682cb4eed95c852657;p=mesa.git vc4: Fix simulator mode missing-GETPARAM debug info. The value is 0 since we didn't set it, we wanted to see the param. --- diff --git a/src/gallium/drivers/vc4/vc4_simulator.c b/src/gallium/drivers/vc4/vc4_simulator.c index 43e7f979618..82ffaab834c 100644 --- a/src/gallium/drivers/vc4/vc4_simulator.c +++ b/src/gallium/drivers/vc4/vc4_simulator.c @@ -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(); }; }