Module: Mesa
Branch: master
Commit: 7130260d1212d84d046c67682cb4eed95c852657
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7130260d1212d84d046c67682cb4eed95c852657

Author: Eric Anholt <[email protected]>
Date:   Wed Nov 16 17:22:35 2016 -0800

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 43e7f97..82ffaab 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();
         };
 }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to