Skip to content

[UR][L0] Fix ZES_FAN_SPEED_UNITS_PERCENT query on devices with unreadable fans - #22813

Closed
ldorau wants to merge 1 commit into
intel:syclfrom
ldorau:URL0_Fix_UR_DEVICE_INFO_FAN_SPEED_query_on_devices_with_unreadable_fans
Closed

[UR][L0] Fix ZES_FAN_SPEED_UNITS_PERCENT query on devices with unreadable fans#22813
ldorau wants to merge 1 commit into
intel:syclfrom
ldorau:URL0_Fix_UR_DEVICE_INFO_FAN_SPEED_query_on_devices_with_unreadable_fans

Conversation

@ldorau

@ldorau ldorau commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Some devices (observed on Arc(TM) B-series GPUs) enumerate fan handles
via zesDeviceEnumFans, but zesFanGetState fails with
ZE_RESULT_ERROR_UNSUPPORTED_FEATURE when trying to read their state.
Previously this caused urDeviceGetInfo(UR_DEVICE_INFO_FAN_SPEED) to
succeed for the size-only query but fail for the actual value query,
which broke the urDeviceGetInfoTest.SuccessFanSpeed conformance test.

Probe every enumerated fan for actual read support and return
UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION consistently (for both the
size and value queries) when none of the fans can report their state,
matching the existing pattern used for UR_DEVICE_INFO_MAX_POWER_LIMIT.

Fixes: #22812

@ldorau
ldorau requested a review from a team as a code owner July 30, 2026 07:27
@ldorau

ldorau commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Please review @intel/unified-runtime-reviewers-level-zero

@pbalcer pbalcer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this failing now? was the driver updated?

@ldorau

ldorau commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

why is this failing now? was the driver updated?

commit 9b65cb732c7ead19408867357fd7224809396706
Author: Buildbot for SYCL <bb-sycl@intel.com>
Date:   Tue Jul 28 23:51:08 2026 +0800

    [GHA] Uplift Linux GPU RT version to 26.27.39122.11 (#22782)

    Scheduled drivers uplift

…e fans

Some devices (observed on Arc(TM) B-series GPUs) enumerate fan handles
via zesDeviceEnumFans, but zesFanGetState fails with
ZE_RESULT_ERROR_UNSUPPORTED_FEATURE when trying to read their state.
Previously this caused urDeviceGetInfo(UR_DEVICE_INFO_FAN_SPEED) to
succeed for the size-only query but fail for the actual value query,
which broke the urDeviceGetInfoTest.SuccessFanSpeed conformance test.

Probe every enumerated fan for actual read support and return
UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION consistently (for both the
size and value queries) when none of the fans can report their state,
matching the existing pattern used for UR_DEVICE_INFO_MAX_POWER_LIMIT.

Fixes: intel#22812

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@pbalcer

pbalcer commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

why is this failing now? was the driver updated?

commit 9b65cb732c7ead19408867357fd7224809396706
Author: Buildbot for SYCL <bb-sycl@intel.com>
Date:   Tue Jul 28 23:51:08 2026 +0800

    [GHA] Uplift Linux GPU RT version to 26.27.39122.11 (#22782)

    Scheduled drivers uplift

We should figure out what changed in the driver, and possibly report an issue there.

@ldorau
ldorau marked this pull request as draft July 30, 2026 13:58
@ldorau ldorau changed the title [UR][L0] Fix UR_DEVICE_INFO_FAN_SPEED query on devices with unreadable fans [UR][L0] Fix ZES_FAN_SPEED_UNITS_PERCENT query on devices with unreadable fans Jul 31, 2026
@ldorau

ldorau commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

why is this failing now? was the driver updated?

commit 9b65cb732c7ead19408867357fd7224809396706
Author: Buildbot for SYCL <bb-sycl@intel.com>
Date:   Tue Jul 28 23:51:08 2026 +0800

    [GHA] Uplift Linux GPU RT version to 26.27.39122.11 (#22782)

    Scheduled drivers uplift

We should figure out what changed in the driver, and possibly report an issue there.

OK, replaced with #22837

@ldorau ldorau closed this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unified Runtime Conformance :: device//device-test/urDeviceGetInfoTest/SuccessFanSpeed fails with UR_RESULT_ERROR_UNSUPPORTED_FEATURE

2 participants