OSDN Git Service

drm/amd/display: Add debug prints for bandwidth calculations
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Thu, 8 Mar 2018 19:58:11 +0000 (14:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:38 +0000 (13:07 -0500)
commit1249acefefd43006127e58acf9c67de8038d770b
treea02584515fd24c6ec9dcb9c5c3ee6406a3feff92
parentdfd01f299987e7ede74e27d422c43846d1326010
drm/amd/display: Add debug prints for bandwidth calculations

Using the three functions we can print the dceip, vbios and data struct
for bandwidth calculations. This is useful for debugging bandwidth
calculation issues without a debugger

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/calcs_logger.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c
drivers/gpu/drm/amd/display/dc/dc.h