summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_guc_db_mgr.c
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2024-04-19 17:34:07 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2024-04-24 18:18:02 +0200
commitad4ca914de384681ce8984785f4ee2078945a759 (patch)
tree4b836abfe74b55db49e9be896229e8c1d7fab05e /drivers/gpu/drm/xe/xe_guc_db_mgr.c
parent6b8ef44cc0a952549a6773a0233cee853f807a79 (diff)
drm/xe/guc: Improve GuC doorbell/context ID manager intro message
We can use recently added str_plural() helper. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Piotr PiĆ³rkowski <piotr.piorkowski@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240419153407.402-1-michal.wajdeczko@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_guc_db_mgr.c')
-rw-r--r--drivers/gpu/drm/xe/xe_guc_db_mgr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_guc_db_mgr.c b/drivers/gpu/drm/xe/xe_guc_db_mgr.c
index 8d9a0287df6b..6767e8076e6b 100644
--- a/drivers/gpu/drm/xe/xe_guc_db_mgr.c
+++ b/drivers/gpu/drm/xe/xe_guc_db_mgr.c
@@ -106,7 +106,8 @@ int xe_guc_db_mgr_init(struct xe_guc_db_mgr *dbm, unsigned int count)
if (ret)
return ret;
done:
- xe_gt_dbg(dbm_to_gt(dbm), "using %u doorbell(s)\n", dbm->count);
+ xe_gt_dbg(dbm_to_gt(dbm), "using %u doorbell%s\n",
+ dbm->count, str_plural(dbm->count));
return 0;
}