summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-06-01 22:22:07 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-06-03 16:45:01 -0400
commitd8e4fb9112e88d8d87ffbc38fa511e7118042d4f (patch)
tree94a92c01637952b55c7201c94b8db7a13e42b6dd /tools/perf/scripts/python/flamegraph.py
parent3e80a5b068a5fedc69ada30ba1a2d1e0b76dfc25 (diff)
downloadlinux-d8e4fb9112e88d8d87ffbc38fa511e7118042d4f.tar.gz
linux-d8e4fb9112e88d8d87ffbc38fa511e7118042d4f.zip
drm/amdgpu/display: Protect some functions with CONFIG_DRM_AMD_DC_DCN
Protect remove_hpo_dp_link_enc_from_ctx() and release_hpo_dp_link_enc() with CONFIG_DRM_AMD_DC_DCN as the functions are only called from code that is protected by CONFIG_DRM_AMD_DC_DCN. Fixes build fail with -Werror=unused-function. Fixes: 9b0e0d433f74 ("drm/amd/display: Add dependant changes for DCN32/321") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions