linux/drivers/gpu/drm/amd/display
Nicholas Kazlauskas cc7e422d3d 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 <sunpeng.li@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Fixes: 43a6a02eb3 ("drm/amd/display: Re-enable CRC capture following modeset")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-02-05 21:15:46 -05:00
..
amdgpu_dm drm/amd/display: Don't re-enable CRC when CONFIG_DEBUG_FS isn't defined 2019-02-05 21:15:46 -05:00
dc drm/amd/display: Use memset to initialize variable in wait_for_training_aux_rd_interval 2019-02-05 21:15:32 -05:00
include drm/amd/display: Remove i2caux folder 2019-01-14 15:40:54 -05:00
modules drm/amd/display: Adjust ABM 2.2 contrast parameters 2019-01-25 16:15:36 -05:00
Kconfig drm/amd/display: Add DC config flag for Raven2 (v2) 2018-09-14 09:36:56 -05:00
Makefile drm/amd/display: Load DMCU IRAM 2018-11-26 15:47:53 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00