mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
amd: Fix ac_gpu_info.c compilation on windows
Fixes: 75a783ea73 ("ac: Query the amdgpu MEC firmware version.")
Acked-by: Daniel Stone <daniels@collabora.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15518>
This commit is contained in:
parent
de039537da
commit
2daae1fab4
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue