mesa/src
Jason Ekstrand 35ec1d9730 anv: Use intel_i915_query_alloc for memory regions
Error handling with DRM_IOCTL_I915_QUERY is tricky and we got it wrong
in one of the two calls here.  Use the common helper instead.  This also
fixes a theoretical bug where calloc() fails.  While we're here, inline
anv_track_meminfo because we're not really benefiting from having it
separate anymore.

Fixes: 65e8d72bc1 "anv: Query memory region info"
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11770>
2021-07-16 14:19:20 +00:00
..
amd radv: Remove num_viewports from radv_skip_ngg_culling. 2021-07-16 13:00:36 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi agx: Flip point coordinates because OpenGL 2021-07-11 22:32:41 +00:00
broadcom v3dv: don't emit frame setup more than once for multilayered framebuffers 2021-07-16 09:36:37 +00:00
compiler nir: Better document the Boissinot algorithm in nir_from_ssa() 2021-07-16 06:19:25 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl/android: restore image creation fallback path used by virgl 2021-07-09 16:18:23 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno freedreno+turnip: Add a6xx gen4 support 2021-07-14 01:58:00 +00:00
gallium iris: Re-emit MEDIA_VFE_STATE for variable group size shaders 2021-07-16 11:02:50 +00:00
gbm gbm/dri: Fix leaking bo memory on failure path 2021-07-13 11:15:44 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx/drisw: Nerf PutImage when loaderPrivate == NULL 2021-07-15 15:10:17 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv: Use intel_i915_query_alloc for memory regions 2021-07-16 14:19:20 +00:00
loader loader: Handle failure to load DRI driver library 2021-07-13 07:36:17 +00:00
mapi glthread: use custom marshal/unmarshal for CallList 2021-07-09 10:05:46 +00:00
mesa mesa: (correctly) flush more in _mesa_make_current 2021-07-15 15:10:17 +00:00
microsoft nir: Drop nir_ssa_def::name and nir_register::name 2021-07-08 17:34:41 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost pan/gen_pack: Use 1U for unpacking log2 to avoid undefined behaviour 2021-07-14 23:20:13 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util radv: report APUs as discrete GPUs for Red Dead Redemption 2 2021-07-16 07:01:45 +00:00
virtio venus: refactor vn_EndCommandBuffer 2021-07-15 00:52:43 +00:00
vulkan vulkan/util: Add and use vk_multialloc_zalloc variants 2021-07-15 21:34:53 +00:00
meson.build panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs 2021-06-22 14:07:34 +00:00