[PATCH 6.12 045/150] drm/xe/oa: Move functions up so they can be reused for config ioctl