Skip to contentSkip to conversation

drm/i915/dp: actually nack test request

PATCH Applied Daniel Vetter 4 participants 4 messages Oct 20, 2012 – Oct 23, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/dp: actually nack test request

... like the comment says. No idea whether this has any effect, but I guess it's better to not lie to the display by acking a test request and never following through with it.

---
 drivers/gpu/drm/i915/intel_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_dp.c +1 -1
index b9b9d08..8228083 100644
@@ -2125,7 +2125,7 @@ static void
 intel_dp_handle_test_request(struct intel_dp *intel_dp)
 {
 	/* NAK by default */
-	intel_dp_aux_native_write_1(intel_dp, DP_TEST_RESPONSE, DP_TEST_ACK);
+	intel_dp_aux_native_write_1(intel_dp, DP_TEST_RESPONSE, DP_TEST_NAK);
 }
 
 /*
Signature · 1 line
1.7.11.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Daniel Vetter

... like the comment says. No idea whether this has any effect, but I guess it's better to not lie to the display by acking a test request and never following through with it.

Ha, if I've learnt anything by now making the code consistent with the comments inside intel_dp.c only leads to pain...

But really this needs an ack by Jesse:

commit a60f0e38d72a5e24085d6e7e27a4cadc20ae268a

Author: Jesse Barnes <[email protected]>
Date:   Thu Oct 20 15:09:17 2011 -0700

drm/i915: add DP test request handling

DPCD 1.1+ adds some automated test infrastructure support. Add support for reading the IRQ source and jumping to a test handling routine if needed. Subsequent patches will handle particular tests; this patch just ACKs any requested tests by default.
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#2 lore raw
Quoted 18 lines · On Tue, 23 Oct 2012 10:53:07 +0100 Chris Wilson <[email protected]>…
Quoted 5 lines · Daniel Vetter

... like the comment says. No idea whether this has any effect, but I guess it's better to not lie to the display by acking a test request and never following through with it.

Ha, if I've learnt anything by now making the code consistent with the comments inside intel_dp.c only leads to pain...

But really this needs an ack by Jesse:

commit a60f0e38d72a5e24085d6e7e27a4cadc20ae268a

Author: Jesse Barnes <[email protected]>
Date:   Thu Oct 20 15:09:17 2011 -0700
Quoted 8 lines

drm/i915: add DP test request handling

DPCD 1.1+ adds some automated test infrastructure support. Add support for reading the IRQ source and jumping to a test handling routine if needed. Subsequent patches will handle particular tests; this patch just ACKs any requested tests by default.
-Chris

I don't think it matters; the only thing that should be looking at this is the DP test equipment. I haven't seen any sinks generate test requests yet (but then I don't have many...).

So 'meh' on this patch from me.

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
#3 lore raw
Quoted 30 lines · Jesse Barnes
Quoted 18 lines · On Tue, 23 Oct 2012 10:53:07 +0100 Chris Wilson <[email protected]>…
Quoted 5 lines · Daniel Vetter

... like the comment says. No idea whether this has any effect, but I guess it's better to not lie to the display by acking a test request and never following through with it.

Ha, if I've learnt anything by now making the code consistent with the comments inside intel_dp.c only leads to pain...

But really this needs an ack by Jesse:

commit a60f0e38d72a5e24085d6e7e27a4cadc20ae268a

Author: Jesse Barnes <[email protected]>
Date:   Thu Oct 20 15:09:17 2011 -0700
Quoted 8 lines

drm/i915: add DP test request handling

DPCD 1.1+ adds some automated test infrastructure support. Add support for reading the IRQ source and jumping to a test handling routine if needed. Subsequent patches will handle particular tests; this patch just ACKs any requested tests by default.
-Chris

Quoted 5 lines

I don't think it matters; the only thing that should be looking at this is the DP test equipment. I haven't seen any sinks generate test requests yet (but then I don't have many...).

So 'meh' on this patch from me.

Applied, thanks for the review.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch