linux/drivers/gpu/drm/amd/display/dc
Michel Dänzer 38636603d8 drm/amd/display: Don't call dm_log_to_buffer directly in dc_conn_log
dm_log_to_buffer logs unconditionally, so calling it directly resulted
in the main message being logged even when the event type isn't enabled
in the event mask.

To fix this, use the new dm_logger_append_va API.

Fixes spurious messages like

 [drm] {1920x1200, 2080x1235@154000Khz}

in dmesg when a mode is set.

v2:
* Use new dm_logger_append_va API, fixes incorrect va_list usage in v1
* Just use and decrease entry.buf_offset to get rid of the trailing
  newline

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-12-06 12:48:28 -05:00
..
basics drm/amd/display: Don't call dm_log_to_buffer directly in dc_conn_log 2017-12-06 12:48:28 -05:00
bios drm/amd/display: Bunch of smatch error and warning fixes in DC 2017-11-28 17:56:10 -05:00
calcs drm/amd/display: Set full update flag in dcn_validate_bandwidth 2017-12-06 12:48:12 -05:00
core drm/amd/display: Only program watermark for full update. 2017-12-06 12:48:13 -05:00
dce drm/amd/display: DMCU and ABM maintenance and refactor 2017-12-06 12:48:13 -05:00
dce80 drm/amd/display: Add APU cap in dc_caps 2017-12-04 16:33:20 -05:00
dce100 drm/amd/display: send display_count msg so SMU can enter S0i2 2017-12-06 12:47:33 -05:00
dce110 drm/amd/display: Move update_plane_addr to apply_ctx_for_surface for dce. 2017-12-06 12:48:07 -05:00
dce112 amdgpu/dc: remove pointless return from build_pipe_hw_param 2017-09-29 13:02:41 -04:00
dce120 drm/amd/include:cleanup vega10 header files. 2017-12-06 12:48:22 -05:00
dcn10 drm/amd/include:cleanup raven1 nbio header files. 2017-12-06 12:48:25 -05:00
dml drm/amd/display: Rename output_bpc to opp_input_bpc 2017-12-06 12:48:11 -05:00
gpio drm/amd/include:cleanup raven1 dcn header files. 2017-12-06 12:48:23 -05:00
i2caux drm/amd/include:cleanup raven1 dcn header files. 2017-12-06 12:48:23 -05:00
inc drm/amd/display: DMCU and ABM maintenance and refactor 2017-12-06 12:48:13 -05:00
irq drm/amd/include:cleanup raven1 dcn header files. 2017-12-06 12:48:23 -05:00
virtual drm/amd/display: Don't use dc_link in link_encoder 2017-12-06 12:47:27 -05:00
Makefile drm/amdgpu/display: Enable DCN in DC 2017-09-26 18:06:51 -04:00
dc.h drm/amd/display: dal 3.1.20 2017-12-06 12:48:14 -05:00
dc_bios_types.h drm/amd/display: Rename firmware_info to dc_firmware_info 2017-09-26 18:15:51 -04:00
dc_ddc_types.h drm/amd/display: Roll core_link into dc_link 2017-09-26 18:15:36 -04:00
dc_dp_types.h drm/amd/display: get remote dpcd caps for timing validation 2017-12-06 12:47:26 -05:00
dc_helper.c drm/amd/display: add warning on long reg_wait 2017-12-06 12:47:32 -05:00
dc_hw_types.h drm/amd/display: Multi display synchronization logic 2017-12-06 12:47:22 -05:00
dc_link.h drm/amd/display: Move dc_link interface to separate header 2017-12-06 12:47:44 -05:00
dc_stream.h drm/amd/display: Do not program front-end twice 2017-12-06 12:48:11 -05:00
dc_types.h drm/amd/display: Apply VQ adjustments in MPO case 2017-12-04 16:41:37 -05:00
dm_helpers.h drm/amd/display: Implement HDMI retimer settings for RV AM4 support. 2017-09-26 18:16:45 -04:00
dm_pp_smu.h drm/amd/display: refactor pplib/smu communication 2017-09-26 18:16:46 -04:00
dm_services.h drm/amd/display: performance profiling instrumentation 2017-12-06 12:48:08 -05:00
dm_services_types.h drm/amd/display: refactor pplib/smu communication 2017-09-26 18:16:46 -04:00
irq_types.h drm/amd/display: Add interrupt entries for VBLANK isr. 2017-09-26 17:11:12 -04:00
os_types.h drm/amdgpu/display: provide ASSERT macros unconditionally 2017-11-02 13:42:10 -04:00