]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp_mst: Move clearing the ACT sent flag closer to its polling
authorImre Deak <imre.deak@intel.com>
Tue, 16 Jun 2020 14:18:52 +0000 (17:18 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 23 Jun 2020 07:12:16 +0000 (10:12 +0300)
commit6b0d9b40c840278e2601ebfe1406d9dde6608b2f
tree6052d23f66ecc1ea543478517fc52220204465eb
parent8f7e805d4eb5758af376546db5d81050575c93de
drm/i915/dp_mst: Move clearing the ACT sent flag closer to its polling

During transcoder enabling we'll configure the transcoder in MST mode
and enable the VC payload allocation, which will start the ACT sequence.
Before waiting for the ACT sequence completion, we need to clear the ACT
sent flag, but based on the above we can do this right before enabling
the transcoder.

For clarity, move the flag clearing closer to where we wait for it.

While at it also factor out some common code.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200616141855.746-3-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c