[PATCH 6.15 126/263] drm/amdgpu/mes: add compatibility checks for set_hw_resource_1