]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: Add TE handler for dsi cmd mode.
authorVandita Kulkarni <vandita.kulkarni@intel.com>
Thu, 24 Sep 2020 12:42:07 +0000 (18:12 +0530)
committerJani Nikula <jani.nikula@intel.com>
Mon, 28 Sep 2020 17:02:01 +0000 (20:02 +0300)
commit664d75bcb4acdd6fc91d9aceadd4e656ff876257
treec7d200bb68301a86cbbca7f8fcd0219e0ed2e929
parentbe2c4aaff56e9b6e4b5621f0e4a31e442a4630f4
drm/i915/dsi: Add TE handler for dsi cmd mode.

In case of dual link, we get the TE on slave. So clear the TE on slave
DSI IIR.

If we are operating in TE_GATE mode, after we do a frame update, the
transcoder will send the frame data to the panel, after it receives a
TE. Whereas if we are operating in NO_GATE mode then the transcoder will
immediately send the frame data to the panel. We are not dealing with
the periodic command mode here.

v2: Pass only relevant masked bits to the handler (Jani)

v3: Fix the check for cmd mode in TE handler function.

v4: Use intel_handle_vblank instead of drm_handle_vblank (Jani)

v3: Use static on handler func (Jani)

Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
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/20200924124209.17916-4-vandita.kulkarni@intel.com
drivers/gpu/drm/i915/i915_irq.c