[Intel-gfx] [PATCH 1/2] drm/i915/glk: Calculate high/low switch count for GLK

2017-05-08 Thread Madhav Chauhan
As per BSPEC, high/low switch count to be programmed in terms of byteclock using exit_zero_count and prep_count. For Geminilake exit/prep counts are already calculated in terms of byteclock. This patch calculates high/low switch count using counts value in byteclock, old calculation leads to screen

[Intel-gfx] [PATCH 1/2] drm/i915/glk: Calculate high/low switch count for GLK

2017-05-09 Thread Madhav Chauhan
As per BSPEC, high/low switch count to be programmed in terms of byteclock using exit_zero_count and prep_count. For Geminilake exit/prep counts are already calculated in terms of byteclock. This patch calculates high/low switch count using counts value in byteclock, old calculation leads to screen

Re: [Intel-gfx] [PATCH 1/2] drm/i915/glk: Calculate high/low switch count for GLK

2017-05-15 Thread Jani Nikula
On Tue, 09 May 2017, Madhav Chauhan wrote: > As per BSPEC, high/low switch count to be programmed in > terms of byteclock using exit_zero_count and prep_count. > For Geminilake exit/prep counts are already calculated > in terms of byteclock. This patch calculates high/low > switch count using coun