mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
cc7e422d3d
[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 <sunpeng.li@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Fixes:
|
||
---|---|---|
.. | ||
amdgpu_dm_color.c | ||
amdgpu_dm_crc.c | ||
amdgpu_dm_debugfs.c | ||
amdgpu_dm_debugfs.h | ||
amdgpu_dm_helpers.c | ||
amdgpu_dm_irq.c | ||
amdgpu_dm_irq.h | ||
amdgpu_dm_mst_types.c | ||
amdgpu_dm_mst_types.h | ||
amdgpu_dm_pp_smu.c | ||
amdgpu_dm_services.c | ||
amdgpu_dm_trace.h | ||
amdgpu_dm.c | ||
amdgpu_dm.h | ||
Makefile |