turnip: add wrappers around DRM_MSM_GET_PARAM
authorChia-I Wu <olvaffe@gmail.com>
Thu, 10 Jan 2019 23:27:28 +0000 (15:27 -0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 11 Mar 2019 17:01:41 +0000 (10:01 -0700)
commitfcf24f47aac414cbd634be5085002a5698618678
treef1021b1d8c854d1e0934007049b0989d7b6bdc09
parenta25a803127c5f59ce9049d22c85e5dd7771014f6
turnip: add wrappers around DRM_MSM_GET_PARAM

Add tu_drm_get_gpu_id and tu_drm_get_gmem_size.
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_drm.c
src/freedreno/vulkan/tu_private.h