Skip to content

Commit 39abe4a

Browse files
committed
drm/i915/dp_mst: Remove stream count assert from intel_dp_check_mst_status()
There doesn't seem to be a reason to assert for a non-negative stream counter in intel_dp_check_mst_status() in particular, remove it. There is now an equivalent assert in intel_dp_mst_dec_active_streams(). Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Link: https://lore.kernel.org/r/20250404150310.1156696-4-imre.deak@intel.com
1 parent 59e8cd6 commit 39abe4a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/gpu/drm/i915/display/intel_dp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5004,8 +5004,6 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp)
50045004
bool link_ok = true;
50055005
bool reprobe_needed = false;
50065006

5007-
drm_WARN_ON_ONCE(display->drm, intel_dp->mst.active_links < 0);
5008-
50095007
for (;;) {
50105008
u8 esi[4] = {};
50115009
u8 ack[4] = {};

0 commit comments

Comments
 (0)