mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/include
Hamza Mahfooz 5d72e247e5 drm/amd/display: switch DC over to the new DRM logging macros
For multi-GPU systems it is difficult to tell which GPU a particular
message is being printed for and that is undesirable because it
complicates debugging efforts. Also, the new macros allow us to enable
logging for particular parts of the codebase more selectively (since we
no longer need to throw everything at DRM_DEBUG_KMS()). So, for the
reasons outlined above we should switch to the new macros.

We can accomplish this by using the existing DC_LOGGER code to pass
around the relevant `struct drm_device` which will be fed to the new
macros in logger_types.h. Also, we must get rid of all instances of the
DC_LOG_.*() functions that are currently in amdgpu_dm since we don't use
the DC logger there and we can simply refer to the macros directly
there instead.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-09-26 17:00:21 -04:00
..
audio_types.h
bios_parser_interface.h
bios_parser_types.h drm/amd/display: Fix USBC link creation 2022-06-03 16:43:38 -04:00
dal_asic_id.h drm/amd/display: Add CRC and DMUB test support 2023-03-22 00:59:52 -04:00
dal_types.h drm/amd/display: Add DCN35 family information 2023-08-30 15:51:13 -04:00
ddc_service_types.h drm/amd/display: support main link off before specific vertical line 2023-09-11 17:16:21 -04:00
dpcd_defs.h drm/amd/display: Read replay data from sink 2023-08-07 17:14:07 -04:00
fixed31_32.h drm/amd/display: fix compilation error due to shifting negative value 2023-06-09 12:38:19 -04:00
gpio_interface.h
gpio_service_interface.h drm/amd/display/dc/gpio/gpio_service: Pass around correct dce_{version, environment} types 2021-05-27 12:33:51 -04:00
gpio_types.h
grph_object_ctrl_defs.h drm/amd/display: cleaning up smu_if to add future flexibility 2022-03-15 14:25:15 -04:00
grph_object_defs.h drm/amd/display: Drop DCN for DP2.x logic 2022-01-25 18:00:34 -05:00
grph_object_id.h drm/amd/display: Add support for USBC connector 2022-03-31 23:05:53 -04:00
hdcp_msg_types.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
irq_service_interface.h
link_service_types.h drm/amd/display: Update 128b/132b downspread factor to 0.3% 2023-07-18 11:15:05 -04:00
logger_interface.h drm/amd/dc: Kill dc_conn_log_hex_linux() 2020-04-01 14:44:59 -04:00
logger_types.h drm/amd/display: switch DC over to the new DRM logging macros 2023-09-26 17:00:21 -04:00
set_mode_types.h drm/amd/display: OVT Update on InfoFrame and Mode Management 2022-07-05 16:17:20 -04:00
signal_types.h drm/amd/display: Convert connector signal id to string 2023-06-09 09:39:41 -04:00
vector.h