Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/i915/display: take out dead code
@ 2025-09-05 10:46 Juha-Pekka Heikkila
  2025-09-05 10:46 ` [PATCH 2/3] drm/i915/display: log fail from intel_sdvo_enable_hotplug Juha-Pekka Heikkila
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Juha-Pekka Heikkila @ 2025-09-05 10:46 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: Juha-Pekka Heikkila, Jani Nikula

if __waitfor timeout, ret will have -ETIMEDOUT. Then if condition
was met, and read_ret will have error that's handled.
Then if ret was zero, read_ret was zero ksv_ready must have value.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/intel_hdcp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c b/drivers/gpu/drm/i915/display/intel_hdcp.c
index 42202c8bb066..2e34b625c80b 100644
--- a/drivers/gpu/drm/i915/display/intel_hdcp.c
+++ b/drivers/gpu/drm/i915/display/intel_hdcp.c
@@ -334,8 +334,6 @@ static int intel_hdcp_poll_ksv_fifo(struct intel_digital_port *dig_port,
 		return ret;
 	if (read_ret)
 		return read_ret;
-	if (!ksv_ready)
-		return -ETIMEDOUT;
 
 	return 0;
 }
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-06 23:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05 10:46 [PATCH 1/3] drm/i915/display: take out dead code Juha-Pekka Heikkila
2025-09-05 10:46 ` [PATCH 2/3] drm/i915/display: log fail from intel_sdvo_enable_hotplug Juha-Pekka Heikkila
2025-09-05 10:46 ` [PATCH 3/3] drm/i915/display: Avoid divide by zero Juha-Pekka Heikkila
2025-09-05 11:36   ` Ville Syrjälä
2025-09-05 17:35 ` ✓ i915.CI.BAT: success for series starting with [1/3] drm/i915/display: take out dead code Patchwork
2025-09-06 23:21 ` ✗ i915.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox