diff options
author | Francois Dugast <francois.dugast@intel.com> | 2023-07-17 17:53:55 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 19:37:31 +0300 |
commit | 3e8e7ee6a375217c4f6a9a96d50e3ae711832d37 (patch) | |
tree | 1475b28f676fec189b96c1a0fafdedaedae0e647 /drivers/gpu/drm/xe/xe_guc_fwif.h | |
parent | b8c1ba831e675005ff871cd4a4e04ff90326b4ae (diff) | |
download | linux-3e8e7ee6a375217c4f6a9a96d50e3ae711832d37.tar.xz |
drm/xe: Cleanup style warnings
Reduce the number of warnings reported by checkpatch.pl from 118 to 48 by
addressing those warnings types:
LEADING_SPACE
LINE_SPACING
BRACES
TRAILING_SEMICOLON
CONSTANT_COMPARISON
BLOCK_COMMENT_STYLE
RETURN_VOID
ONE_SEMICOLON
SUSPECT_CODE_INDENT
LINE_CONTINUATIONS
UNNECESSARY_ELSE
UNSPECIFIED_INT
UNNECESSARY_INT
MISORDERED_TYPE
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_guc_fwif.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_guc_fwif.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/gpu/drm/xe/xe_guc_fwif.h b/drivers/gpu/drm/xe/xe_guc_fwif.h index e215e8b2c17a..7515d7fbb723 100644 --- a/drivers/gpu/drm/xe/xe_guc_fwif.h +++ b/drivers/gpu/drm/xe/xe_guc_fwif.h @@ -140,16 +140,20 @@ struct guc_update_engine_policy { struct guc_policies { u32 submission_queue_depth[GUC_MAX_ENGINE_CLASSES]; - /* In micro seconds. How much time to allow before DPC processing is + /* + * In micro seconds. How much time to allow before DPC processing is * called back via interrupt (to prevent DPC queue drain starving). - * Typically 1000s of micro seconds (example only, not granularity). */ + * Typically 1000s of micro seconds (example only, not granularity). + */ u32 dpc_promote_time; /* Must be set to take these new values. */ u32 is_valid; - /* Max number of WIs to process per call. A large value may keep CS - * idle. */ + /* + * Max number of WIs to process per call. A large value may keep CS + * idle. + */ u32 max_num_work_items; u32 global_flags; |