drm/xe/guc: Do not assert CTB state while sending MMIO
authorTomasz Lis <tomasz.lis@intel.com>
Thu, 7 Nov 2024 15:13:57 +0000 (16:13 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 9 Nov 2024 14:11:13 +0000 (15:11 +0100)
commitf7278da76da2589af13bc8a487d0e8f8abdecc99
tree11d9d791081a588fd79b7081f5966db554572e2b
parentfb3cb67e68767463bd5bf31324b553fb49d9b6e3
drm/xe/guc: Do not assert CTB state while sending MMIO

During VF post-migration recovery, MMIO communication channel to GuC
is used, despite CTB channel being enabled. This behavior is rooted
in the save-restore architecture specification.

Therefore, a VF driver cannot assert that CTB is disabled while sending
MMIO messages to GuC. Such assertion needs to be PF only, or be removed.

This patch simply removes the assertion.

Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
Suggested-by: MichaƂ Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241107151357.1623733-2-tomasz.lis@intel.com
drivers/gpu/drm/xe/xe_guc.c