diff options
| author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2025-11-05 19:32:51 +0100 |
|---|---|---|
| committer | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2025-11-07 19:47:44 +0100 |
| commit | bfbcf66186b535382f090fa2e55bcaea2123c8a0 (patch) | |
| tree | af4972272cc1f8794cfca41cbcc09fd6dfa30bfd /tools/lib/python/kdoc/kdoc_files.py | |
| parent | 8fb1d7d3cf643d62fd84eca225562467c1e9b770 (diff) | |
drm/xe/pf: Use migration-friendly doorbells auto-provisioning
Instead of trying very hard to find the largest fair number of GuC
doorbell IDs that could be allocated for VFs on the current GT, pick
some smaller rounded down to power-of-two value that is more likely
to be provisioned in the same manner by the other PF instance:
num VFs | num doorbells
--------+--------------
63..32 | 4
31..16 | 8
15..8 | 16
7..4 | 32
3..2 | 64
1 | 128 (regular PF)
1 | 240 (admin only PF)
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patch.msgid.link/20251105183253.863-3-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
