]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: Add vblank calculation for command mode
authorVandita Kulkarni <vandita.kulkarni@intel.com>
Thu, 12 Mar 2020 05:38:34 +0000 (11:08 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 24 Mar 2020 14:21:51 +0000 (16:21 +0200)
commitb927783228f9838c9dbb40dd4928858047fa166c
tree344e49b5bf80524536677e6a7143266b611f3929
parentb4b95b056ef3f3c047ffc161f60dddf8332e1358
drm/i915/dsi: Add vblank calculation for command mode

Transcoder timing calculation differ for command mode.

v2: Use is_vid_mode, and use same I915_WRITE (Jani)
v3: Adjust the calculations to reflect dsc compression ratio
v4: Rearrange the vertical and horizontal timing calc, optimize
    local variables usage. (Jani)
v5: Fix the values used for calculation, use afe_clk for
    byte clock calculation, use intel_de_write/read (Jani)

Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200312053841.2794-3-vandita.kulkarni@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c