Re: [PATCH] drm/amd/display: Convert 10kHz clks from PPLib into kHz for Vega

2018-07-12 Thread Harry Wentland
On 2018-07-12 09:58 AM, Alex Deucher wrote: > On Thu, Jul 12, 2018 at 9:46 AM, Harry Wentland > wrote: >> Fixing Nicholas's email. >> >> On 2018-07-12 09:36 AM, Harry Wentland wrote: >>> The driver is expecting clock frequency in kHz, while SMU returns >>> the values in 10kHz, which causes the

Re: [PATCH] drm/amd/display: Convert 10kHz clks from PPLib into kHz for Vega

2018-07-12 Thread Alex Deucher
On Thu, Jul 12, 2018 at 9:46 AM, Harry Wentland wrote: > Fixing Nicholas's email. > > On 2018-07-12 09:36 AM, Harry Wentland wrote: >> The driver is expecting clock frequency in kHz, while SMU returns >> the values in 10kHz, which causes the bandwidth validation to fail >> >> 4.18 has the faulty

Re: [PATCH] drm/amd/display: Convert 10kHz clks from PPLib into kHz for Vega

2018-07-12 Thread Harry Wentland
Fixing Nicholas's email. On 2018-07-12 09:36 AM, Harry Wentland wrote: > The driver is expecting clock frequency in kHz, while SMU returns > the values in 10kHz, which causes the bandwidth validation to fail > > 4.18 has the faulty clock assignment in pp_to_dc_clock_levels_with_latency > only,

[PATCH] drm/amd/display: Convert 10kHz clks from PPLib into kHz for Vega

2018-07-12 Thread Harry Wentland
The driver is expecting clock frequency in kHz, while SMU returns the values in 10kHz, which causes the bandwidth validation to fail 4.18 has the faulty clock assignment in pp_to_dc_clock_levels_with_latency only, which is only used by Vega. Make sure we multiply these values by 10 here, as we do