]> 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)
commit28d7754286a037d11e2b3bde9dd3243a83d2f202
tree6052d23f66ecc1ea543478517fc52220204465eb
parent3c0d4cfd0c1861ecb79dbf775a7bb82f87cb60db
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