]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdgpu: Show resolution correctly in mode validation debug output
authorNeil Mayhew <neil@neil.mayhew.name>
Wed, 30 Oct 2019 18:58:37 +0000 (12:58 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Nov 2019 21:27:47 +0000 (16:27 -0500)
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Neil Mayhew <neil@neil.mayhew.name>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 0a6173d727e398e45d429245d31d20ab953ee5a9..caba9ecac723528241bac5df9e83123031ea170f 100644 (file)
@@ -4239,8 +4239,8 @@ enum drm_mode_status amdgpu_dm_connector_mode_valid(struct drm_connector *connec
                result = MODE_OK;
        else
                DRM_DEBUG_KMS("Mode %dx%d (clk %d) failed DC validation with error %d\n",
-                             mode->vdisplay,
                              mode->hdisplay,
+                             mode->vdisplay,
                              mode->clock,
                              dc_result);