[PATCH] drm/amd/amdgpu: Add a new line to debugfs phy_settings output

Harry Wentland harry.wentland at amd.com
Tue Jul 20 20:49:11 UTC 2021


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 at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at 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);
> 



More information about the amd-gfx mailing list