Module: Mesa Branch: main Commit: 2daae1fab49f061d9c8af0ffff442dce6fdf63ea URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2daae1fab49f061d9c8af0ffff442dce6fdf63ea
Author: Boris Brezillon <[email protected]> Date: Tue Mar 22 12:16:17 2022 +0100 amd: Fix ac_gpu_info.c compilation on windows Fixes: 75a783ea73e8 ("ac: Query the amdgpu MEC firmware version.") Acked-by: Daniel Stone <[email protected]> Acked-by: Erik Faye-Lund <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15518> --- src/amd/common/ac_gpu_info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index c4ed6f0d719..f6eca7f75b6 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -67,6 +67,7 @@ #define AMDGPU_INFO_MEMORY 0x19 #define AMDGPU_INFO_VIDEO_CAPS_DECODE 0 #define AMDGPU_INFO_VIDEO_CAPS_ENCODE 1 +#define AMDGPU_INFO_FW_GFX_MEC 0x08 struct drm_amdgpu_heap_info { uint64_t total_heap_size; };
