]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915/glk: Calculate high/low switch count for GLK
authorMadhav Chauhan <madhav.chauhan@intel.com>
Tue, 9 May 2017 13:29:24 +0000 (18:59 +0530)
committerJani Nikula <jani.nikula@intel.com>
Mon, 15 May 2017 15:29:46 +0000 (18:29 +0300)
commit1fdd783e9ce3a60c99f4da0d844d17b7c3ef8aef
tree2a0f6df8628c1d3abdc9e3ec8ad5298cc2428d11
parent9081d0805638aa7d4f9cbc05c881217d3eaf30e8
drm/i915/glk: Calculate high/low switch count for GLK

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 flicker/shift issue while resuming from S3/S4.

Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1494336565-19185-1-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/intel_dsi_vbt.c