diff options
author | Tomeu Vizoso <[email protected]> | 2019-05-31 09:12:59 +0200 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2019-06-18 15:26:08 +0200 |
commit | 6f60fec48fe70c7e8cfe5f8c9752c057794e8a34 (patch) | |
tree | f81b2dcfe01936905a44e5683b8bef3d2f5343f2 /src | |
parent | 5ad5777f890b490850fc112ca2b6573e647a62c2 (diff) |
panfrost: Adapt to constant name change in UABI
We hadn't updated the kernel header after the driver got into mainline.
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_drm.c b/src/gallium/drivers/panfrost/pan_drm.c index 98e40b57c3e..cacc6a7f715 100644 --- a/src/gallium/drivers/panfrost/pan_drm.c +++ b/src/gallium/drivers/panfrost/pan_drm.c @@ -337,7 +337,7 @@ panfrost_drm_query_gpu_version(struct panfrost_screen *screen) struct drm_panfrost_get_param get_param = {0,}; int ret; - get_param.param = DRM_PANFROST_PARAM_GPU_ID; + get_param.param = DRM_PANFROST_PARAM_GPU_PROD_ID; ret = drmIoctl(drm->fd, DRM_IOCTL_PANFROST_GET_PARAM, &get_param); assert(!ret); |