fallthrough;
case IP_VERSION(12, 0, 0):
case IP_VERSION(12, 0, 1):
+ case IP_VERSION(12, 1, 0):
num_of_cache_types =
kfd_fill_gpu_cache_info_from_gfx_config(kdev->kfd,
cache_line_size_missing,
gfx_target_version = 120001;
f2g = &gfx_v12_kfd2kgd;
break;
+ case IP_VERSION(12, 1, 0):
+ gfx_target_version = 120500;
+ f2g = &gfx_v12_kfd2kgd;
+ break;
default:
break;
}
* If the VMID range changes for multi-partition capable GPUs, then
* this code MUST be revisited.
*/
- if (kfd->adev->xcp_mgr) {
+ if (kfd->adev->xcp_mgr && (KFD_GC_VERSION(kfd) != IP_VERSION(12, 1, 0))) {
partition_mode = amdgpu_xcp_query_partition_mode(kfd->adev->xcp_mgr,
AMDGPU_XCP_FL_LOCKED);
if (partition_mode == AMDGPU_CPX_PARTITION_MODE &&