Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: use drm_* instead of DRM_ in apply_edid_quirks()

drm_* macros are more helpful that DRM_* macros since the former
indicates the associated DRM device that prints the error, which maybe
helpful when debugging.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Aurabindo Pillai and committed by
Alex Deucher
a89b5303 41b83047

+3 -3
+3 -3
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
··· 69 69 case drm_edid_encode_panel_id('S', 'A', 'M', 0x0E5E): 70 70 case drm_edid_encode_panel_id('S', 'A', 'M', 0x7053): 71 71 case drm_edid_encode_panel_id('S', 'A', 'M', 0x71AC): 72 - DRM_DEBUG_DRIVER("Disabling FAMS on monitor with panel id %X\n", panel_id); 72 + drm_dbg_driver(dev, "Disabling FAMS on monitor with panel id %X\n", panel_id); 73 73 edid_caps->panel_patch.disable_fams = true; 74 74 break; 75 75 /* Workaround for some monitors that do not clear DPCD 0x317 if FreeSync is unsupported */ ··· 78 78 case drm_edid_encode_panel_id('B', 'O', 'E', 0x092A): 79 79 case drm_edid_encode_panel_id('L', 'G', 'D', 0x06D1): 80 80 case drm_edid_encode_panel_id('M', 'S', 'F', 0x1003): 81 - DRM_DEBUG_DRIVER("Clearing DPCD 0x317 on monitor with panel id %X\n", panel_id); 81 + drm_dbg_driver(dev, "Clearing DPCD 0x317 on monitor with panel id %X\n", panel_id); 82 82 edid_caps->panel_patch.remove_sink_ext_caps = true; 83 83 break; 84 84 case drm_edid_encode_panel_id('S', 'D', 'C', 0x4154): 85 - DRM_DEBUG_DRIVER("Disabling VSC on monitor with panel id %X\n", panel_id); 85 + drm_dbg_driver(dev, "Disabling VSC on monitor with panel id %X\n", panel_id); 86 86 edid_caps->panel_patch.disable_colorimetry = true; 87 87 break; 88 88 default: