[Intel-gfx] [PATCH] drm/i915/psr: Use calculated io and fast wake lines

2023-02-21 Thread Jouni Högander
Currently we are using hardcoded 7 for io and fast wake lines. According to Bspec io and fast wake times are both 42us for DISPLAY_VER >= 12 and 50us and 32us for older platforms. Calculate line counts for these and configure them into PSR2_CTL accordingly Use 45 us for the fast wake calculation

Re: [Intel-gfx] [PATCH] drm/i915/psr: Use calculated io and fast wake lines

2023-02-24 Thread Lisovskiy, Stanislav
On Tue, Feb 21, 2023 at 10:53:04AM +0200, Jouni Högander wrote: > Currently we are using hardcoded 7 for io and fast wake lines. > > According to Bspec io and fast wake times are both 42us for > DISPLAY_VER >= 12 and 50us and 32us for older platforms. > > Calculate line counts for these and confi

Re: [Intel-gfx] [PATCH] drm/i915/psr: Use calculated io and fast wake lines

2023-02-24 Thread Hogander, Jouni
On Fri, 2023-02-24 at 11:32 +0200, Lisovskiy, Stanislav wrote: > On Tue, Feb 21, 2023 at 10:53:04AM +0200, Jouni Högander wrote: > > Currently we are using hardcoded 7 for io and fast wake lines. > > > > According to Bspec io and fast wake times are both 42us for > > DISPLAY_VER >= 12 and 50us and

Re: [Intel-gfx] [PATCH] drm/i915/psr: Use calculated io and fast wake lines

2023-02-24 Thread Werner Sembach
Am 21.02.23 um 09:53 schrieb Jouni Högander: Currently we are using hardcoded 7 for io and fast wake lines. According to Bspec io and fast wake times are both 42us for DISPLAY_VER >= 12 and 50us and 32us for older platforms. Calculate line counts for these and configure them into PSR2_CTL acc