drm/amd/amdgpu: Add a new line to debugfs phy_settings output
authorAnson Jacob <Anson.Jacob@amd.com>
Tue, 20 Jul 2021 15:43:20 +0000 (11:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:08:00 +0000 (10:08 -0400)
Add new line to phy_settings output

Signed-off-by: Anson Jacob <Anson.Jacob@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c

index 1d15a9a..87daa78 100644 (file)
@@ -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);