[PATCH 3/5] drm/amd/display: Fix copy error when set memory clocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 3, 2018 at 5:46 AM, Rex Zhu <rex.zhu at amd.com> wrote:
> Set memory clocks same as soc clocks
>
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
> index 9c105c0..50e8630 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
> @@ -503,9 +503,9 @@ void pp_rv_set_wm_ranges(struct pp_smu *pp,
>                 wm_soc_clocks[i].wm_min_socclk_clk_in_khz =
>                                 ranges->writer_wm_sets[i].min_fill_clk_khz;
>                 wm_soc_clocks[i].wm_max_mem_clk_in_khz =
> -                               ranges->writer_wm_sets[i].max_fill_clk_khz;
> +                               ranges->writer_wm_sets[i].max_drain_clk_khz;
>                 wm_soc_clocks[i].wm_min_mem_clk_in_khz =
> -                               ranges->writer_wm_sets[i].min_fill_clk_khz;
> +                               ranges->writer_wm_sets[i].min_drain_clk_khz;
>         }
>
>         pp_funcs->set_watermarks_for_clocks_ranges(pp_handle, &wm_with_clock_ranges);
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux