Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

levelzero: only use Sysman queries instead of similar Core API queries #595

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Nov 13, 2024

  1. levelzero: only get memory info from sysman

    Now that zesInit() is mandatory, don't bother falling back
    to the core API, Sysman shouldn't fail.
    
    Signed-off-by: Brice Goglin <[email protected]>
    bgoglin committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    aff2c31 View commit details
    Browse the repository at this point in the history
  2. levelzero: only get pci locality info from sysman

    Now that zesInit() is mandatory, don't bother trying the core API extension
    first in case sysman wouldn't be available.
    Hence remove the zeDevicePciGetPropertiesExt() optional detection
    
    Signed-off-by: Brice Goglin <[email protected]>
    bgoglin committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    a1d3e0d View commit details
    Browse the repository at this point in the history
  3. levelzero: remove the is_integrated variable

    We don't need it anymore.
    
    Signed-off-by: Brice Goglin <[email protected]>
    bgoglin committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    70c8f46 View commit details
    Browse the repository at this point in the history
  4. levelzero: don't get device properties twice

    Signed-off-by: Brice Goglin <[email protected]>
    bgoglin committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    c2b2cfd View commit details
    Browse the repository at this point in the history