panfrost: Fix param getting

....Oops....

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3950>
This commit is contained in:
Alyssa Rosenzweig 2020-02-25 11:52:52 -05:00 committed by Tomeu Vizoso
parent 4a10cfab76
commit f6ca7ea551
1 changed files with 1 additions and 1 deletions

View File

@ -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) {