]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clear the repeater bit on HDCP disable
authorSean Paul <seanpaul@chromium.org>
Tue, 18 Aug 2020 15:38:50 +0000 (11:38 -0400)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Sep 2020 07:48:23 +0000 (10:48 +0300)
commita4e813c2fc7b0258d30d9e8e9746f02a4c13e1fb
tree19c208251b7b63a7596cb6f54311e2109d2ba897
parent990cb7df61ff0afb31ec2f9264933d7290d3fe50
drm/i915: Clear the repeater bit on HDCP disable

On HDCP disable, clear the repeater bit. This ensures if we connect a
non-repeater sink after a repeater, the bit is in the state we expect.

Fixes: 8752abab31b4 ("drm/i915: Add HDCP framework + base implementation")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ramalingam C <ramalingam.c@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v4.17+
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200818153910.27894-3-sean@poorly.run
(cherry picked from commit 2cc0c7b520bf8ea20ec42285d4e3d37b467eb7f9)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_hdcp.c