#ifndef __AMDGPU_DRM_H__
#define __AMDGPU_DRM_H__
#include "drm.h"
#if defined(__cplusplus)
extern "C" {
#endif
#define DRM_AMDGPU_GEM_CREATE …
#define DRM_AMDGPU_GEM_MMAP …
#define DRM_AMDGPU_CTX …
#define DRM_AMDGPU_BO_LIST …
#define DRM_AMDGPU_CS …
#define DRM_AMDGPU_INFO …
#define DRM_AMDGPU_GEM_METADATA …
#define DRM_AMDGPU_GEM_WAIT_IDLE …
#define DRM_AMDGPU_GEM_VA …
#define DRM_AMDGPU_WAIT_CS …
#define DRM_AMDGPU_GEM_OP …
#define DRM_AMDGPU_GEM_USERPTR …
#define DRM_AMDGPU_WAIT_FENCES …
#define DRM_AMDGPU_VM …
#define DRM_AMDGPU_FENCE_TO_HANDLE …
#define DRM_AMDGPU_SCHED …
#define DRM_IOCTL_AMDGPU_GEM_CREATE …
#define DRM_IOCTL_AMDGPU_GEM_MMAP …
#define DRM_IOCTL_AMDGPU_CTX …
#define DRM_IOCTL_AMDGPU_BO_LIST …
#define DRM_IOCTL_AMDGPU_CS …
#define DRM_IOCTL_AMDGPU_INFO …
#define DRM_IOCTL_AMDGPU_GEM_METADATA …
#define DRM_IOCTL_AMDGPU_GEM_WAIT_IDLE …
#define DRM_IOCTL_AMDGPU_GEM_VA …
#define DRM_IOCTL_AMDGPU_WAIT_CS …
#define DRM_IOCTL_AMDGPU_GEM_OP …
#define DRM_IOCTL_AMDGPU_GEM_USERPTR …
#define DRM_IOCTL_AMDGPU_WAIT_FENCES …
#define DRM_IOCTL_AMDGPU_VM …
#define DRM_IOCTL_AMDGPU_FENCE_TO_HANDLE …
#define DRM_IOCTL_AMDGPU_SCHED …
#define AMDGPU_GEM_DOMAIN_CPU …
#define AMDGPU_GEM_DOMAIN_GTT …
#define AMDGPU_GEM_DOMAIN_VRAM …
#define AMDGPU_GEM_DOMAIN_GDS …
#define AMDGPU_GEM_DOMAIN_GWS …
#define AMDGPU_GEM_DOMAIN_OA …
#define AMDGPU_GEM_DOMAIN_DOORBELL …
#define AMDGPU_GEM_DOMAIN_MASK …
#define AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED …
#define AMDGPU_GEM_CREATE_NO_CPU_ACCESS …
#define AMDGPU_GEM_CREATE_CPU_GTT_USWC …
#define AMDGPU_GEM_CREATE_VRAM_CLEARED …
#define AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS …
#define AMDGPU_GEM_CREATE_VM_ALWAYS_VALID …
#define AMDGPU_GEM_CREATE_EXPLICIT_SYNC …
#define AMDGPU_GEM_CREATE_CP_MQD_GFX9 …
#define AMDGPU_GEM_CREATE_VRAM_WIPE_ON_RELEASE …
#define AMDGPU_GEM_CREATE_ENCRYPTED …
#define AMDGPU_GEM_CREATE_PREEMPTIBLE …
#define AMDGPU_GEM_CREATE_DISCARDABLE …
#define AMDGPU_GEM_CREATE_COHERENT …
#define AMDGPU_GEM_CREATE_UNCACHED …
#define AMDGPU_GEM_CREATE_EXT_COHERENT …
#define AMDGPU_GEM_CREATE_GFX12_DCC …
struct drm_amdgpu_gem_create_in { … };
struct drm_amdgpu_gem_create_out { … };
drm_amdgpu_gem_create;
#define AMDGPU_BO_LIST_OP_CREATE …
#define AMDGPU_BO_LIST_OP_DESTROY …
#define AMDGPU_BO_LIST_OP_UPDATE …
struct drm_amdgpu_bo_list_in { … };
struct drm_amdgpu_bo_list_entry { … };
struct drm_amdgpu_bo_list_out { … };
drm_amdgpu_bo_list;
#define AMDGPU_CTX_OP_ALLOC_CTX …
#define AMDGPU_CTX_OP_FREE_CTX …
#define AMDGPU_CTX_OP_QUERY_STATE …
#define AMDGPU_CTX_OP_QUERY_STATE2 …
#define AMDGPU_CTX_OP_GET_STABLE_PSTATE …
#define AMDGPU_CTX_OP_SET_STABLE_PSTATE …
#define AMDGPU_CTX_NO_RESET …
#define AMDGPU_CTX_GUILTY_RESET …
#define AMDGPU_CTX_INNOCENT_RESET …
#define AMDGPU_CTX_UNKNOWN_RESET …
#define AMDGPU_CTX_QUERY2_FLAGS_RESET …
#define AMDGPU_CTX_QUERY2_FLAGS_VRAMLOST …
#define AMDGPU_CTX_QUERY2_FLAGS_GUILTY …
#define AMDGPU_CTX_QUERY2_FLAGS_RAS_CE …
#define AMDGPU_CTX_QUERY2_FLAGS_RAS_UE …
#define AMDGPU_CTX_QUERY2_FLAGS_RESET_IN_PROGRESS …
#define AMDGPU_CTX_PRIORITY_UNSET …
#define AMDGPU_CTX_PRIORITY_VERY_LOW …
#define AMDGPU_CTX_PRIORITY_LOW …
#define AMDGPU_CTX_PRIORITY_NORMAL …
#define AMDGPU_CTX_PRIORITY_HIGH …
#define AMDGPU_CTX_PRIORITY_VERY_HIGH …
#define AMDGPU_CTX_STABLE_PSTATE_FLAGS_MASK …
#define AMDGPU_CTX_STABLE_PSTATE_NONE …
#define AMDGPU_CTX_STABLE_PSTATE_STANDARD …
#define AMDGPU_CTX_STABLE_PSTATE_MIN_SCLK …
#define AMDGPU_CTX_STABLE_PSTATE_MIN_MCLK …
#define AMDGPU_CTX_STABLE_PSTATE_PEAK …
struct drm_amdgpu_ctx_in { … };
drm_amdgpu_ctx_out;
drm_amdgpu_ctx;
#define AMDGPU_VM_OP_RESERVE_VMID …
#define AMDGPU_VM_OP_UNRESERVE_VMID …
struct drm_amdgpu_vm_in { … };
struct drm_amdgpu_vm_out { … };
drm_amdgpu_vm;
#define AMDGPU_SCHED_OP_PROCESS_PRIORITY_OVERRIDE …
#define AMDGPU_SCHED_OP_CONTEXT_PRIORITY_OVERRIDE …
struct drm_amdgpu_sched_in { … };
drm_amdgpu_sched;
#define AMDGPU_GEM_USERPTR_READONLY …
#define AMDGPU_GEM_USERPTR_ANONONLY …
#define AMDGPU_GEM_USERPTR_VALIDATE …
#define AMDGPU_GEM_USERPTR_REGISTER …
struct drm_amdgpu_gem_userptr { … };
#define AMDGPU_TILING_ARRAY_MODE_SHIFT …
#define AMDGPU_TILING_ARRAY_MODE_MASK …
#define AMDGPU_TILING_PIPE_CONFIG_SHIFT …
#define AMDGPU_TILING_PIPE_CONFIG_MASK …
#define AMDGPU_TILING_TILE_SPLIT_SHIFT …
#define AMDGPU_TILING_TILE_SPLIT_MASK …
#define AMDGPU_TILING_MICRO_TILE_MODE_SHIFT …
#define AMDGPU_TILING_MICRO_TILE_MODE_MASK …
#define AMDGPU_TILING_BANK_WIDTH_SHIFT …
#define AMDGPU_TILING_BANK_WIDTH_MASK …
#define AMDGPU_TILING_BANK_HEIGHT_SHIFT …
#define AMDGPU_TILING_BANK_HEIGHT_MASK …
#define AMDGPU_TILING_MACRO_TILE_ASPECT_SHIFT …
#define AMDGPU_TILING_MACRO_TILE_ASPECT_MASK …
#define AMDGPU_TILING_NUM_BANKS_SHIFT …
#define AMDGPU_TILING_NUM_BANKS_MASK …
#define AMDGPU_TILING_SWIZZLE_MODE_SHIFT …
#define AMDGPU_TILING_SWIZZLE_MODE_MASK …
#define AMDGPU_TILING_DCC_OFFSET_256B_SHIFT …
#define AMDGPU_TILING_DCC_OFFSET_256B_MASK …
#define AMDGPU_TILING_DCC_PITCH_MAX_SHIFT …
#define AMDGPU_TILING_DCC_PITCH_MAX_MASK …
#define AMDGPU_TILING_DCC_INDEPENDENT_64B_SHIFT …
#define AMDGPU_TILING_DCC_INDEPENDENT_64B_MASK …
#define AMDGPU_TILING_DCC_INDEPENDENT_128B_SHIFT …
#define AMDGPU_TILING_DCC_INDEPENDENT_128B_MASK …
#define AMDGPU_TILING_SCANOUT_SHIFT …
#define AMDGPU_TILING_SCANOUT_MASK …
#define AMDGPU_TILING_GFX12_SWIZZLE_MODE_SHIFT …
#define AMDGPU_TILING_GFX12_SWIZZLE_MODE_MASK …
#define AMDGPU_TILING_GFX12_DCC_MAX_COMPRESSED_BLOCK_SHIFT …
#define AMDGPU_TILING_GFX12_DCC_MAX_COMPRESSED_BLOCK_MASK …
#define AMDGPU_TILING_GFX12_DCC_NUMBER_TYPE_SHIFT …
#define AMDGPU_TILING_GFX12_DCC_NUMBER_TYPE_MASK …
#define AMDGPU_TILING_GFX12_DCC_DATA_FORMAT_SHIFT …
#define AMDGPU_TILING_GFX12_DCC_DATA_FORMAT_MASK …
#define AMDGPU_TILING_SET(field, value) …
#define AMDGPU_TILING_GET(value, field) …
#define AMDGPU_GEM_METADATA_OP_SET_METADATA …
#define AMDGPU_GEM_METADATA_OP_GET_METADATA …
struct drm_amdgpu_gem_metadata { … };
struct drm_amdgpu_gem_mmap_in { … };
struct drm_amdgpu_gem_mmap_out { … };
drm_amdgpu_gem_mmap;
struct drm_amdgpu_gem_wait_idle_in { … };
struct drm_amdgpu_gem_wait_idle_out { … };
drm_amdgpu_gem_wait_idle;
struct drm_amdgpu_wait_cs_in { … };
struct drm_amdgpu_wait_cs_out { … };
drm_amdgpu_wait_cs;
struct drm_amdgpu_fence { … };
struct drm_amdgpu_wait_fences_in { … };
struct drm_amdgpu_wait_fences_out { … };
drm_amdgpu_wait_fences;
#define AMDGPU_GEM_OP_GET_GEM_CREATE_INFO …
#define AMDGPU_GEM_OP_SET_PLACEMENT …
struct drm_amdgpu_gem_op { … };
#define AMDGPU_VA_OP_MAP …
#define AMDGPU_VA_OP_UNMAP …
#define AMDGPU_VA_OP_CLEAR …
#define AMDGPU_VA_OP_REPLACE …
#define AMDGPU_VM_DELAY_UPDATE …
#define AMDGPU_VM_PAGE_READABLE …
#define AMDGPU_VM_PAGE_WRITEABLE …
#define AMDGPU_VM_PAGE_EXECUTABLE …
#define AMDGPU_VM_PAGE_PRT …
#define AMDGPU_VM_MTYPE_MASK …
#define AMDGPU_VM_MTYPE_DEFAULT …
#define AMDGPU_VM_MTYPE_NC …
#define AMDGPU_VM_MTYPE_WC …
#define AMDGPU_VM_MTYPE_CC …
#define AMDGPU_VM_MTYPE_UC …
#define AMDGPU_VM_MTYPE_RW …
#define AMDGPU_VM_PAGE_NOALLOC …
struct drm_amdgpu_gem_va { … };
#define AMDGPU_HW_IP_GFX …
#define AMDGPU_HW_IP_COMPUTE …
#define AMDGPU_HW_IP_DMA …
#define AMDGPU_HW_IP_UVD …
#define AMDGPU_HW_IP_VCE …
#define AMDGPU_HW_IP_UVD_ENC …
#define AMDGPU_HW_IP_VCN_DEC …
#define AMDGPU_HW_IP_VCN_ENC …
#define AMDGPU_HW_IP_VCN_JPEG …
#define AMDGPU_HW_IP_VPE …
#define AMDGPU_HW_IP_NUM …
#define AMDGPU_HW_IP_INSTANCE_MAX_COUNT …
#define AMDGPU_CHUNK_ID_IB …
#define AMDGPU_CHUNK_ID_FENCE …
#define AMDGPU_CHUNK_ID_DEPENDENCIES …
#define AMDGPU_CHUNK_ID_SYNCOBJ_IN …
#define AMDGPU_CHUNK_ID_SYNCOBJ_OUT …
#define AMDGPU_CHUNK_ID_BO_HANDLES …
#define AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES …
#define AMDGPU_CHUNK_ID_SYNCOBJ_TIMELINE_WAIT …
#define AMDGPU_CHUNK_ID_SYNCOBJ_TIMELINE_SIGNAL …
#define AMDGPU_CHUNK_ID_CP_GFX_SHADOW …
struct drm_amdgpu_cs_chunk { … };
struct drm_amdgpu_cs_in { … };
struct drm_amdgpu_cs_out { … };
drm_amdgpu_cs;
#define AMDGPU_IB_FLAG_CE …
#define AMDGPU_IB_FLAG_PREAMBLE …
#define AMDGPU_IB_FLAG_PREEMPT …
#define AMDGPU_IB_FLAG_TC_WB_NOT_INVALIDATE …
#define AMDGPU_IB_FLAG_RESET_GDS_MAX_WAVE_ID …
#define AMDGPU_IB_FLAGS_SECURE …
#define AMDGPU_IB_FLAG_EMIT_MEM_SYNC …
struct drm_amdgpu_cs_chunk_ib { … };
struct drm_amdgpu_cs_chunk_dep { … };
struct drm_amdgpu_cs_chunk_fence { … };
struct drm_amdgpu_cs_chunk_sem { … };
struct drm_amdgpu_cs_chunk_syncobj { … };
#define AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ …
#define AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ_FD …
#define AMDGPU_FENCE_TO_HANDLE_GET_SYNC_FILE_FD …
drm_amdgpu_fence_to_handle;
struct drm_amdgpu_cs_chunk_data { … };
#define AMDGPU_CS_CHUNK_CP_GFX_SHADOW_FLAGS_INIT_SHADOW …
struct drm_amdgpu_cs_chunk_cp_gfx_shadow { … };
#define AMDGPU_IDS_FLAGS_FUSION …
#define AMDGPU_IDS_FLAGS_PREEMPTION …
#define AMDGPU_IDS_FLAGS_TMZ …
#define AMDGPU_IDS_FLAGS_CONFORMANT_TRUNC_COORD …
#define AMDGPU_INFO_ACCEL_WORKING …
#define AMDGPU_INFO_CRTC_FROM_ID …
#define AMDGPU_INFO_HW_IP_INFO …
#define AMDGPU_INFO_HW_IP_COUNT …
#define AMDGPU_INFO_TIMESTAMP …
#define AMDGPU_INFO_FW_VERSION …
#define AMDGPU_INFO_FW_VCE …
#define AMDGPU_INFO_FW_UVD …
#define AMDGPU_INFO_FW_GMC …
#define AMDGPU_INFO_FW_GFX_ME …
#define AMDGPU_INFO_FW_GFX_PFP …
#define AMDGPU_INFO_FW_GFX_CE …
#define AMDGPU_INFO_FW_GFX_RLC …
#define AMDGPU_INFO_FW_GFX_MEC …
#define AMDGPU_INFO_FW_SMC …
#define AMDGPU_INFO_FW_SDMA …
#define AMDGPU_INFO_FW_SOS …
#define AMDGPU_INFO_FW_ASD …
#define AMDGPU_INFO_FW_VCN …
#define AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_CNTL …
#define AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_GPM_MEM …
#define AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_SRM_MEM …
#define AMDGPU_INFO_FW_DMCU …
#define AMDGPU_INFO_FW_TA …
#define AMDGPU_INFO_FW_DMCUB …
#define AMDGPU_INFO_FW_TOC …
#define AMDGPU_INFO_FW_CAP …
#define AMDGPU_INFO_FW_GFX_RLCP …
#define AMDGPU_INFO_FW_GFX_RLCV …
#define AMDGPU_INFO_FW_MES_KIQ …
#define AMDGPU_INFO_FW_MES …
#define AMDGPU_INFO_FW_IMU …
#define AMDGPU_INFO_FW_VPE …
#define AMDGPU_INFO_NUM_BYTES_MOVED …
#define AMDGPU_INFO_VRAM_USAGE …
#define AMDGPU_INFO_GTT_USAGE …
#define AMDGPU_INFO_GDS_CONFIG …
#define AMDGPU_INFO_VRAM_GTT …
#define AMDGPU_INFO_READ_MMR_REG …
#define AMDGPU_INFO_DEV_INFO …
#define AMDGPU_INFO_VIS_VRAM_USAGE …
#define AMDGPU_INFO_NUM_EVICTIONS …
#define AMDGPU_INFO_MEMORY …
#define AMDGPU_INFO_VCE_CLOCK_TABLE …
#define AMDGPU_INFO_VBIOS …
#define AMDGPU_INFO_VBIOS_SIZE …
#define AMDGPU_INFO_VBIOS_IMAGE …
#define AMDGPU_INFO_VBIOS_INFO …
#define AMDGPU_INFO_NUM_HANDLES …
#define AMDGPU_INFO_SENSOR …
#define AMDGPU_INFO_SENSOR_GFX_SCLK …
#define AMDGPU_INFO_SENSOR_GFX_MCLK …
#define AMDGPU_INFO_SENSOR_GPU_TEMP …
#define AMDGPU_INFO_SENSOR_GPU_LOAD …
#define AMDGPU_INFO_SENSOR_GPU_AVG_POWER …
#define AMDGPU_INFO_SENSOR_VDDNB …
#define AMDGPU_INFO_SENSOR_VDDGFX …
#define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK …
#define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK …
#define AMDGPU_INFO_SENSOR_PEAK_PSTATE_GFX_SCLK …
#define AMDGPU_INFO_SENSOR_PEAK_PSTATE_GFX_MCLK …
#define AMDGPU_INFO_SENSOR_GPU_INPUT_POWER …
#define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS …
#define AMDGPU_INFO_VRAM_LOST_COUNTER …
#define AMDGPU_INFO_RAS_ENABLED_FEATURES …
#define AMDGPU_INFO_RAS_ENABLED_UMC …
#define AMDGPU_INFO_RAS_ENABLED_SDMA …
#define AMDGPU_INFO_RAS_ENABLED_GFX …
#define AMDGPU_INFO_RAS_ENABLED_MMHUB …
#define AMDGPU_INFO_RAS_ENABLED_ATHUB …
#define AMDGPU_INFO_RAS_ENABLED_PCIE …
#define AMDGPU_INFO_RAS_ENABLED_HDP …
#define AMDGPU_INFO_RAS_ENABLED_XGMI …
#define AMDGPU_INFO_RAS_ENABLED_DF …
#define AMDGPU_INFO_RAS_ENABLED_SMN …
#define AMDGPU_INFO_RAS_ENABLED_SEM …
#define AMDGPU_INFO_RAS_ENABLED_MP0 …
#define AMDGPU_INFO_RAS_ENABLED_MP1 …
#define AMDGPU_INFO_RAS_ENABLED_FUSE …
#define AMDGPU_INFO_VIDEO_CAPS …
#define AMDGPU_INFO_VIDEO_CAPS_DECODE …
#define AMDGPU_INFO_VIDEO_CAPS_ENCODE …
#define AMDGPU_INFO_MAX_IBS …
#define AMDGPU_INFO_GPUVM_FAULT …
#define AMDGPU_INFO_MMR_SE_INDEX_SHIFT …
#define AMDGPU_INFO_MMR_SE_INDEX_MASK …
#define AMDGPU_INFO_MMR_SH_INDEX_SHIFT …
#define AMDGPU_INFO_MMR_SH_INDEX_MASK …
struct drm_amdgpu_query_fw { … };
struct drm_amdgpu_info { … };
struct drm_amdgpu_info_gds { … };
struct drm_amdgpu_info_vram_gtt { … };
struct drm_amdgpu_heap_info { … };
struct drm_amdgpu_memory_info { … };
struct drm_amdgpu_info_firmware { … };
struct drm_amdgpu_info_vbios { … };
#define AMDGPU_VRAM_TYPE_UNKNOWN …
#define AMDGPU_VRAM_TYPE_GDDR1 …
#define AMDGPU_VRAM_TYPE_DDR2 …
#define AMDGPU_VRAM_TYPE_GDDR3 …
#define AMDGPU_VRAM_TYPE_GDDR4 …
#define AMDGPU_VRAM_TYPE_GDDR5 …
#define AMDGPU_VRAM_TYPE_HBM …
#define AMDGPU_VRAM_TYPE_DDR3 …
#define AMDGPU_VRAM_TYPE_DDR4 …
#define AMDGPU_VRAM_TYPE_GDDR6 …
#define AMDGPU_VRAM_TYPE_DDR5 …
#define AMDGPU_VRAM_TYPE_LPDDR4 …
#define AMDGPU_VRAM_TYPE_LPDDR5 …
struct drm_amdgpu_info_device { … };
struct drm_amdgpu_info_hw_ip { … };
struct drm_amdgpu_info_num_handles { … };
#define AMDGPU_VCE_CLOCK_TABLE_ENTRIES …
struct drm_amdgpu_info_vce_clock_table_entry { … };
struct drm_amdgpu_info_vce_clock_table { … };
#define AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_MPEG2 …
#define AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_MPEG4 …
#define AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_VC1 …
#define AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_MPEG4_AVC …
#define AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_HEVC …
#define AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_JPEG …
#define AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_VP9 …
#define AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_AV1 …
#define AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_COUNT …
struct drm_amdgpu_info_video_codec_info { … };
struct drm_amdgpu_info_video_caps { … };
#define AMDGPU_VMHUB_TYPE_MASK …
#define AMDGPU_VMHUB_TYPE_SHIFT …
#define AMDGPU_VMHUB_TYPE_GFX …
#define AMDGPU_VMHUB_TYPE_MM0 …
#define AMDGPU_VMHUB_TYPE_MM1 …
#define AMDGPU_VMHUB_IDX_MASK …
#define AMDGPU_VMHUB_IDX_SHIFT …
struct drm_amdgpu_info_gpuvm_fault { … };
#define AMDGPU_FAMILY_UNKNOWN …
#define AMDGPU_FAMILY_SI …
#define AMDGPU_FAMILY_CI …
#define AMDGPU_FAMILY_KV …
#define AMDGPU_FAMILY_VI …
#define AMDGPU_FAMILY_CZ …
#define AMDGPU_FAMILY_AI …
#define AMDGPU_FAMILY_RV …
#define AMDGPU_FAMILY_NV …
#define AMDGPU_FAMILY_VGH …
#define AMDGPU_FAMILY_GC_11_0_0 …
#define AMDGPU_FAMILY_YC …
#define AMDGPU_FAMILY_GC_11_0_1 …
#define AMDGPU_FAMILY_GC_10_3_6 …
#define AMDGPU_FAMILY_GC_10_3_7 …
#define AMDGPU_FAMILY_GC_11_5_0 …
#define AMDGPU_FAMILY_GC_12_0_0 …
struct drm_color_ctm_3x4 { … };
#if defined(__cplusplus)
}
#endif
#endif