From 7130260d1212d84d046c67682cb4eed95c852657 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 16 Nov 2016 17:22:35 -0800 Subject: [PATCH] vc4: Fix simulator mode missing-GETPARAM debug info. The value is 0 since we didn't set it, we wanted to see the param. --- src/gallium/drivers/vc4/vc4_simulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }; } -- 2.30.2