diff options
| author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2026-04-16 15:18:31 +0200 |
|---|---|---|
| committer | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2026-04-17 08:06:36 +0200 |
| commit | 0479934ec74f8f4e03ee654eb2e19074297e069f (patch) | |
| tree | d6cec4a6153339f9633955804f2495533f375aa8 /include/linux/timerqueue_types.h | |
| parent | 35aff528f7297e949e5e19c9cd7fd748cf1cf21c (diff) | |
drm/xe/pf: Fix VF's scheduling priority reporting
When preparing number of impacted VFs parameter for the reporting
helper function, we wrongly ended with adding +1 (representing PF)
twice, since local variable total_vfs was already adjusted. This
resulted in printing a message that was referring to an invalid VF:
[] xe ... [drm] PF: Enabled 2 of 24 VFs
[] xe ... [drm] PF: Tile0: GT0: PF..VF25 provisioned with 0(low) scheduling priority
Fix variable initialization and adjust the loop accordingly.
Fixes: fbbf73a81b84 ("drm/xe/pf: Force new VFs prorities only once")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patch.msgid.link/20260416131831.7302-1-michal.wajdeczko@intel.com
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
