drm/xe/vf: Don't try to program MOCS if VF
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 5 Apr 2024 13:39:35 +0000 (15:39 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 8 Apr 2024 12:33:14 +0000 (14:33 +0200)
commitfe4b17c4f775c5eb5861d944e1a98880da4bef71
treee6036ace379984caa8587338c6a83b316f6ca4d0
parent97515d0b3ed9243e613dcec36e03528b303314d0
drm/xe/vf: Don't try to program MOCS if VF

VFs drivers don't have access to MOCS registers. It is a PF driver
responsibility to program MOCS according to the HW team guidelines.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240405133936.891-3-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_mocs.c