[PATCH OLK-6.6 343/470] drm/amdkfd: Use common function for IP version check