From f6ca7ea551665de4a803f46ce980dfafbcbba1e6 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 25 Feb 2020 11:52:52 -0500 Subject: [PATCH] panfrost: Fix param getting ....Oops.... Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso Part-of: --- src/panfrost/encoder/pan_props.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/encoder/pan_props.c b/src/panfrost/encoder/pan_props.c index 9ab28928756..9fd316295d0 100644 --- a/src/panfrost/encoder/pan_props.c +++ b/src/panfrost/encoder/pan_props.c @@ -44,7 +44,7 @@ panfrost_query_raw( struct drm_panfrost_get_param get_param = {0,}; ASSERTED int ret; - get_param.param = DRM_PANFROST_PARAM_GPU_PROD_ID; + get_param.param = param; ret = drmIoctl(fd, DRM_IOCTL_PANFROST_GET_PARAM, &get_param); if (ret) { -- 2.30.2