Re: [Intel-gfx] [PATCH v6 2/7] drm/i915: update the QGV point frequency calculations

2023-05-24 Thread Govindapillai, Vinod
On Tue, 2023-05-23 at 16:14 +0300, Jani Nikula wrote: > On Tue, 23 May 2023, "Govindapillai, Vinod" > wrote: > > On Tue, 2023-05-23 at 12:01 +0300, Jani Nikula wrote: > > > On Tue, 23 May 2023, Vinod Govindapillai > > > wrote: > > > > From MTL onwwards, pcode locks the QGV point based on peak

Re: [Intel-gfx] [PATCH v6 2/7] drm/i915: update the QGV point frequency calculations

2023-05-23 Thread Jani Nikula
On Tue, 23 May 2023, "Govindapillai, Vinod" wrote: > On Tue, 2023-05-23 at 12:01 +0300, Jani Nikula wrote: >> On Tue, 23 May 2023, Vinod Govindapillai >> wrote: >> > From MTL onwwards, pcode locks the QGV point based on peak BW of >> > the intended QGV point passed by the driver. So the peak

Re: [Intel-gfx] [PATCH v6 2/7] drm/i915: update the QGV point frequency calculations

2023-05-23 Thread Govindapillai, Vinod
On Tue, 2023-05-23 at 12:01 +0300, Jani Nikula wrote: > On Tue, 23 May 2023, Vinod Govindapillai > wrote: > > From MTL onwwards, pcode locks the QGV point based on peak BW of > > the intended QGV point passed by the driver. So the peak BW > > calculation must match the value expected by the

Re: [Intel-gfx] [PATCH v6 2/7] drm/i915: update the QGV point frequency calculations

2023-05-23 Thread Jani Nikula
On Tue, 23 May 2023, Vinod Govindapillai wrote: > From MTL onwwards, pcode locks the QGV point based on peak BW of > the intended QGV point passed by the driver. So the peak BW > calculation must match the value expected by the pcode. Update > the calculations as per the Bspec. > > v2: use

[Intel-gfx] [PATCH v6 2/7] drm/i915: update the QGV point frequency calculations

2023-05-22 Thread Vinod Govindapillai
>From MTL onwwards, pcode locks the QGV point based on peak BW of the intended QGV point passed by the driver. So the peak BW calculation must match the value expected by the pcode. Update the calculations as per the Bspec. v2: use DIV_ROUND_* macro for the calculations (Ville) Bspec: 64636