diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-07-21 15:56:36 -0400 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 11:37:54 -0500 |
commit | c8dc15464880d725a18593bdfe6651bd235574c3 (patch) | |
tree | a4215ddccc26d5453483788270f450731af1df9b /drivers/gpu/drm/xe/xe_device.h | |
parent | c856cc138bf39aa38f1b97def8927c71b2a057c2 (diff) |
drm/xe: Invert guc vs execlists parameters and info.
The module parameter should reflect the name of the optional,
experimental and unsafe option, rather than the default one.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_device.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_device.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/xe/xe_device.h b/drivers/gpu/drm/xe/xe_device.h index 593accb68281..61a5cf1f7300 100644 --- a/drivers/gpu/drm/xe/xe_device.h +++ b/drivers/gpu/drm/xe/xe_device.h @@ -116,12 +116,7 @@ static inline struct xe_gt *xe_root_mmio_gt(struct xe_device *xe) static inline bool xe_device_guc_submission_enabled(struct xe_device *xe) { - return xe->info.enable_guc; -} - -static inline void xe_device_guc_submission_disable(struct xe_device *xe) -{ - xe->info.enable_guc = false; + return !xe->info.force_execlist; } #define for_each_tile(tile__, xe__, id__) \ |