summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-11-16 17:22:35 -0800
committerEric Anholt <[email protected]>2016-11-16 19:45:01 -0800
commit7130260d1212d84d046c67682cb4eed95c852657 (patch)
treea41fe6ccb7ad8760db412813db9fe08bf513876c /src/gallium/drivers/vc4
parent20c1623a1107858c43a743dbd24147d978fef7f6 (diff)
vc4: Fix simulator mode missing-GETPARAM debug info.
The value is 0 since we didn't set it, we wanted to see the param.
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_simulator.c2
1 files changed, 1 insertions, 1 deletions
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();
};
}