Skip to contentSkip to conversation

drm/amdgpu: Show resolution correctly in mode validation debug output

PATCH In review [email protected] 2 participants 4 messages Oct 30, 2019 – Nov 1, 2019 3 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Show resolution correctly in mode validation debug output

From: Neil Mayhew <[email protected]>

---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
index a52f0b13a2c8..f802c784e6f6 100644
@@ -4114,8 +4114,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);
 
Signature · 6 lines
2.23.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20191030185837.8766-1-neil-Zmh7m9nwg1oHZynSCUjJ3A@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 1 line · On 2019-10-30 2:58 p.m., [email protected] wrote:

From: Neil Mayhew <[email protected]>

This requires your Signed-off-by. See [1].

With that fixed your change looks good and is

You can simply reply to this email with your Signed-off-by and I can add it when merging, or you can send a v2 patch with your Signed-off-by.

[1]
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin

Harry

Quoted 11 lines
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0 -0
index a52f0b13a2c8..f802c784e6f6 100644

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c enum drm_mode_status amdgpu_dm_connector_mode_valid(struct drm_connector *connec · line 4121

Quoted 9 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
@@ -4114,8 +4114,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);
 

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): e970ad7b-3ca6-a6a4-ebf0-83b5f6b3b153-5C7GfCeVMHo@public.gmane.org

#4 lore raw
Quoted 9 lines · Harry Wentland
Quoted 1 line · On 2019-10-30 2:58 p.m., [email protected] wrote:

From: Neil Mayhew <[email protected]>

This requires your Signed-off-by. See [1].

With that fixed your change looks good and is

You can simply reply to this email with your Signed-off-by and I can add it when merging, or you can send a v2 patch with your Signed-off-by.

Thanks, Harry.

Quoted 9 lines

[1]
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin

Harry

Quoted 4 lines
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
Quoted 6 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0 -0
index a52f0b13a2c8..f802c784e6f6 100644

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c enum drm_mode_status amdgpu_dm_connector_mode_valid(struct drm_connector *connec · line 4121

Quoted 9 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
@@ -4114,8 +4114,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);
 

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1b3d267d-7d0a-1fbb-44c5-89d1695e3733-Zmh7m9nwg1oHZynSCUjJ3A@public.gmane.org

#6 lore raw
Quoted 5 lines · Neil Mayhew
Quoted 4 lines · Harry Wentland
Quoted 1 line · On 2019-10-30 2:58 p.m., [email protected] wrote:

From: Neil Mayhew <[email protected]>

This requires your Signed-off-by. See [1].

Quoted 8 lines
Quoted 5 lines

With that fixed your change looks good and is

You can simply reply to this email with your Signed-off-by and I can add it when merging, or you can send a v2 patch with your Signed-off-by.

Thanks and thanks for your fix. Applied.

Harry

Quoted 23 lines

Thanks, Harry.

Quoted 21 lines

[1]
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin

Harry

Quoted 16 lines
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
index a52f0b13a2c8..f802c784e6f6 100644
@@ -4114,8 +4114,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,
Quoted 9 lines
Quoted 3 lines

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c enum drm_mode_status amdgpu_dm_connector_mode_valid(struct drm_connector *connec · line 4121

Quoted 3 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0 -0
 			      dc_result);
 

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx