diff options
| author | Francois Dugast <[email protected]> | 2023-09-05 19:49:42 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:44:30 -0500 |
| commit | 04316b4ae6e094569737bababac6f2ef130c0020 (patch) | |
| tree | ecbeae065b6a61624929fa4ca1c236f692fbdefc /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 9914e19cc215d339b618ccae993e16ed7aafb54e (diff) | |
drm/xe/display: Use acpi_target_system_state only if ACPI_SLEEP is enabled
This fixes the build error below with CONFIG_ACPI_SLEEP=n:
drivers/gpu/drm/xe/xe_display.c:334:23: error: implicit declaration of function ‘acpi_target_system_state’; did you mean ‘acpi_get_system_info’? [-Werror=implicit-function-declaration]
334 | bool s2idle = acpi_target_system_state() < ACPI_STATE_S3;
Signed-off-by: Francois Dugast <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions