]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/vf: Skip attempt to start GuC PC if VF
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 22 Jun 2024 09:42:53 +0000 (11:42 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 26 Jun 2024 22:24:51 +0000 (18:24 -0400)
commit20baedb8033d0ba6ae382fc9974b481fdb32e7ef
tree34212323cc3752540de303f2c86dc82514d970f5
parent7e5161da9d267957b726a29f3efe6cb50fdfed04
drm/xe/vf: Skip attempt to start GuC PC if VF

We have already marked the GuC PC feature as not applicable for
VF devices, but we missed the fact that there may be still some
privileged activities performed by this component, who does much
more than its name suggests.

Explicitly skip xe_guc_pc_start() if running as a VF driver and
use a GT oriented message to report any error.

v2: also skip xe_guc_pc_stop (Vinay)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240622094253.1081-1-michal.wajdeczko@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc.c