* [PATCH] drm/amd/amdgpu: Add a new line to debugfs phy_settings output
@ 2021-07-20 15:45 Anson Jacob
2021-07-20 20:49 ` Harry Wentland
0 siblings, 1 reply; 2+ messages in thread
From: Anson Jacob @ 2021-07-20 15:45 UTC (permalink / raw)
To: amd-gfx; +Cc: Anson Jacob
Add new line to phy_settings output
Signed-off-by: Anson Jacob <Anson.Jacob@amd.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
index 1d15a9af9956..87daa78a32b8 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
@@ -377,7 +377,7 @@ static ssize_t dp_phy_settings_read(struct file *f, char __user *buf,
if (!rd_buf)
return -EINVAL;
- snprintf(rd_buf, rd_buf_size, " %d %d %d ",
+ snprintf(rd_buf, rd_buf_size, " %d %d %d\n",
link->cur_lane_setting.VOLTAGE_SWING,
link->cur_lane_setting.PRE_EMPHASIS,
link->cur_lane_setting.POST_CURSOR2);
--
2.25.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amd/amdgpu: Add a new line to debugfs phy_settings output
2021-07-20 15:45 [PATCH] drm/amd/amdgpu: Add a new line to debugfs phy_settings output Anson Jacob
@ 2021-07-20 20:49 ` Harry Wentland
0 siblings, 0 replies; 2+ messages in thread
From: Harry Wentland @ 2021-07-20 20:49 UTC (permalink / raw)
To: Anson Jacob, amd-gfx
On 2021-07-20 11:45 a.m., Anson Jacob wrote:
> Add new line to phy_settings output
>
> Signed-off-by: Anson Jacob <Anson.Jacob@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Harry
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
> index 1d15a9af9956..87daa78a32b8 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
> @@ -377,7 +377,7 @@ static ssize_t dp_phy_settings_read(struct file *f, char __user *buf,
> if (!rd_buf)
> return -EINVAL;
>
> - snprintf(rd_buf, rd_buf_size, " %d %d %d ",
> + snprintf(rd_buf, rd_buf_size, " %d %d %d\n",
> link->cur_lane_setting.VOLTAGE_SWING,
> link->cur_lane_setting.PRE_EMPHASIS,
> link->cur_lane_setting.POST_CURSOR2);
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-20 20:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 15:45 [PATCH] drm/amd/amdgpu: Add a new line to debugfs phy_settings output Anson Jacob
2021-07-20 20:49 ` Harry Wentland
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.