diff options
| author | Perry Yuan <perry.yuan@amd.com> | 2025-07-07 05:45:28 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-08-04 21:26:38 +0300 |
| commit | 8e3967a71e6fca9c871f98b9289b59c82b88b729 (patch) | |
| tree | b27777a36105abe12620ef63afe52528250e8efc /tools/perf/scripts/python/flamegraph.py | |
| parent | 6716a823d18d422c356c2cd0c087f46d84c9e713 (diff) | |
| download | linux-8e3967a71e6fca9c871f98b9289b59c82b88b729.tar.xz | |
drm/amdgpu: Fix build error when CONFIG_SUSPEND is disabled
The variable `pm_suspend_target_state` is conditionally defined only when
`CONFIG_SUSPEND` is enabled (see `include/linux/suspend.h`). Directly
referencing it without guarding by `#ifdef CONFIG_SUSPEND` causes build
failures when suspend functionality is disabled (e.g., `CONFIG_SUSPEND=n`).
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
