aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2019-02-04 09:32:07 -0500
committerAlex Deucher <[email protected]>2019-02-05 21:15:46 -0500
commitcc7e422d3db338bf00ac73b4575668d149a25a34 (patch)
treeb7701469a2dbaa0343a9cdd79c196fdb7f2d22e4 /tools/perf/util/c++/clang-test.cpp
parent41cca166cc57e75e94d888595a428d23a3bf4e36 (diff)
drm/amd/display: Don't re-enable CRC when CONFIG_DEBUG_FS isn't defined
[Why] When CONFIG_DEBUG_FS isn't defined then amdgpu_dm_crtc_set_crc_source is NULL. This causes a compilation error since it's being called unconditionally. [How] Guard the call based on CONFIG_DEBUG_FS - CRC capture isn't supported without this. Cc: Leo Li <[email protected]> Cc: Harry Wentland <[email protected]> Fixes: 43a6a02eb355 ("drm/amd/display: Re-enable CRC capture following modeset") Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions