[PATCH 48/54] drm/amd/display: dp dbeugfs allow link rate lane count greater than dp rx reported caps

Dave Airlie airlied at gmail.com
Tue Jul 10 04:55:48 UTC 2018


typo in subject.



On 10 July 2018 at 10:37, Harry Wentland <harry.wentland at amd.com> wrote:
> From: Hersen Wu <hersenxs.wu at amd.com>
>
> [Why]
> when hw team does phy parameters tuning, there is need to force dp
> link rate or lane count grater than the values from dp receiver to
> check dp tx. current debufs limit link rate, lane count no more
> than rx caps.
>
> [How] remove force settings less than rx caps check
>
> Signed-off-by: Hersen Wu <hersenxs.wu at amd.com>
> Reviewed-by: Charlene Liu <Charlene.Liu at amd.com>
> Acked-by: Harry Wentland <harry.wentland at amd.com>
> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> 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 0276e09d0b82..0d9e410ca01e 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
> @@ -214,8 +214,7 @@ static ssize_t dp_link_settings_write(struct file *f, const char __user *buf,
>                 break;
>         }
>
> -       if (!valid_input || (param[0] > link->reported_link_cap.lane_count) ||
> -                       (param[1] > link->reported_link_cap.link_rate)) {
> +       if (!valid_input) {
>                 kfree(wr_buf);
>                 DRM_DEBUG_DRIVER("Invalid Input value No HW will be programmed\n");
>                 return bytes_from_user;
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list