summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include/mes_v11_api_def.h
diff options
context:
space:
mode:
authorJack Xiao <Jack.Xiao@amd.com>2022-06-22 12:45:24 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-07-05 16:17:13 -0400
commit7acd7ab0297a37e44df928378f53d4260b25fd2b (patch)
tree4b77fadf3d47b87847577ceda9235b7c4188d9cf /drivers/gpu/drm/amd/include/mes_v11_api_def.h
parentb278b738c3be4f383796d09ef8fb6e49fee2091f (diff)
downloadlinux-7acd7ab0297a37e44df928378f53d4260b25fd2b.tar.gz
linux-7acd7ab0297a37e44df928378f53d4260b25fd2b.tar.bz2
linux-7acd7ab0297a37e44df928378f53d4260b25fd2b.zip
drm/amdgpu/mes11: fix to unmap legacy queue
MES fw updated to support unmapping legacy gfx/compute queue. Signed-off-by: Jack Xiao <Jack.Xiao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/mes_v11_api_def.h')
-rw-r--r--drivers/gpu/drm/amd/include/mes_v11_api_def.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/include/mes_v11_api_def.h b/drivers/gpu/drm/amd/include/mes_v11_api_def.h
index 1d37ec2cd737..80dab1146439 100644
--- a/drivers/gpu/drm/amd/include/mes_v11_api_def.h
+++ b/drivers/gpu/drm/amd/include/mes_v11_api_def.h
@@ -227,6 +227,7 @@ union MESAPI_SET_HW_RESOURCES {
uint32_t uint32_t_all;
};
uint32_t oversubscription_timer;
+ uint64_t doorbell_info;
};
uint32_t max_dwords_in_api[API_FRAME_SIZE_IN_DWORDS];
@@ -286,7 +287,8 @@ union MESAPI__REMOVE_QUEUE {
uint32_t unmap_legacy_gfx_queue : 1;
uint32_t unmap_kiq_utility_queue : 1;
uint32_t preempt_legacy_gfx_queue : 1;
- uint32_t reserved : 29;
+ uint32_t unmap_legacy_queue : 1;
+ uint32_t reserved : 28;
};
struct MES_API_STATUS api_status;
@@ -295,6 +297,8 @@ union MESAPI__REMOVE_QUEUE {
uint64_t tf_addr;
uint32_t tf_data;
+
+ enum MES_QUEUE_TYPE queue_type;
};
uint32_t max_dwords_in_api[API_FRAME_SIZE_IN_DWORDS];