]> Gentwo Git Trees - linux/.git/commit
drm/xe/vf: Register CCS read/write contexts with Guc
authorSatyanarayana K V P <satyanarayana.k.v.p@intel.com>
Tue, 22 Jul 2025 12:05:06 +0000 (17:35 +0530)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 23 Jul 2025 14:22:34 +0000 (07:22 -0700)
commit916ee4704a8653910f10c65c2b5d6699dfac5df8
tree771835c5e28619e698d89bcdc436afbf0fdb4aca
parent864690cf4dd62482b6dd049d82c509886c904303
drm/xe/vf: Register CCS read/write contexts with Guc

Register read write contexts with newly added flags with GUC and
enable the context immediately after registration.
Re-register the context with Guc when resuming from runtime suspend as
soft reset is applied to Guc during xe_pm_runtime_resume().
Make Ring head=tail while unbinding device to avoid issues with VF pause
after device is unbinded.

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250722120506.6483-4-satyanarayana.k.v.p@intel.com
drivers/gpu/drm/xe/xe_guc_fwif.h
drivers/gpu/drm/xe/xe_guc_submit.c
drivers/gpu/drm/xe/xe_guc_submit.h
drivers/gpu/drm/xe/xe_migrate.c
drivers/gpu/drm/xe/xe_migrate.h
drivers/gpu/drm/xe/xe_pm.c
drivers/gpu/drm/xe/xe_sriov_vf_ccs.c
drivers/gpu/drm/xe/xe_sriov_vf_ccs.h
drivers/gpu/drm/xe/xe_vm.c