drm/xe/vf: Start post-migration fixups with provisioning query
authorTomasz Lis <tomasz.lis@intel.com>
Mon, 4 Nov 2024 21:34:48 +0000 (22:34 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 6 Nov 2024 14:25:30 +0000 (15:25 +0100)
commit4be3fca2ce6e207802a4ee36882ececde152221f
treeb64b36bbca93a2f9c280fe431afc99d3a0b4fe19
parent1255954d9fdc5538be90034357525ef85bdbcf29
drm/xe/vf: Start post-migration fixups with provisioning query

During post-migration recovery, only MMIO communication to GuC is
allowed. The VF KMD needs to use that channel to ask for the new
provisioning, which includes a new GGTT range assigned to the VF.

v2: query config only instead of handshake; no need to get pm ref as
 it's now kept through whole recovery (Michal)
v3: switched names of 'err' and 'ret'  (Michal)

Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241104213449.1455694-5-tomasz.lis@intel.com
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
drivers/gpu/drm/xe/xe_sriov_vf.c