Skip to contentSkip to conversation

drm/i915: Remove erronous WARN in the vlv pipe crc code

PATCH Applied Daniel Vetter 3 participants 6 messages Mar 13, 2014 – Mar 14, 2014

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

PATCH 1/1 drm/i915: Remove erronous WARN in the vlv pipe crc code

It's been in there since forever, and no one cared. Doesn't put a too good light onto our bug handling and QA efforts really ...

References: https://bugs.freedesktop.org/attachment.cgi?id=90970

---
 drivers/gpu/drm/i915/i915_debugfs.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/i915_debugfs.c +0 -2
index d90a70744d93..92eea70ed7b8 100644
@@ -2559,8 +2559,6 @@ static int vlv_pipe_crc_ctl_reg(struct drm_device *dev,
 	if (need_stable_symbols) {
 		uint32_t tmp = I915_READ(PORT_DFT2_G4X);
 
-		WARN_ON(!IS_G4X(dev));
-
 		tmp |= DC_BALANCE_RESET_VLV;
 		if (pipe == PIPE_A)
 			tmp |= PIPE_A_SCRAMBLE_RESET;
Signature · 1 line
1.8.5.2
maintainer
#1 lore raw
Quoted 4 lines · Daniel Vetter

It's been in there since forever, and no one cared. Doesn't put a too good light onto our bug handling and QA efforts really ...

References: https://bugs.freedesktop.org/attachment.cgi?id=90970

Is there a bug report for this, or did you just spot this in an unrelated bug?

BR,
Jani.

Quoted 25 lines
---
 drivers/gpu/drm/i915/i915_debugfs.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/i915_debugfs.c +0 -2
index d90a70744d93..92eea70ed7b8 100644
@@ -2559,8 +2559,6 @@ static int vlv_pipe_crc_ctl_reg(struct drm_device *dev,
 	if (need_stable_symbols) {
 		uint32_t tmp = I915_READ(PORT_DFT2_G4X);
 
-		WARN_ON(!IS_G4X(dev));
-
 		tmp |= DC_BALANCE_RESET_VLV;
 		if (pipe == PIPE_A)
 			tmp |= PIPE_A_SCRAMBLE_RESET;
Signature · 6 lines
1.8.5.2

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
#2 lore raw
Quoted 8 lines · Jani Nikula
Quoted 4 lines · Daniel Vetter

It's been in there since forever, and no one cared. Doesn't put a too good light onto our bug handling and QA efforts really ...

References: https://bugs.freedesktop.org/attachment.cgi?id=90970

Is there a bug report for this, or did you just spot this in an unrelated bug?

The bug report complains that the crc stuff doesn't work on byt edp, but dmesg contains a pile of these WARNs. Hence just references, since this likely won't fix the actual bug.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
maintainer Applied
#3 lore raw
Quoted 5 lines · Daniel Vetter
Quoted 4 lines · Jani Nikula
Quoted 3 lines · Daniel Vetter

It's been in there since forever, and no one cared. Doesn't put a too good light onto our bug handling and QA efforts really ...

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

References: https://bugs.freedesktop.org/attachment.cgi?id=90970

Is there a bug report for this, or did you just spot this in an unrelated bug?

The bug report complains that the crc stuff doesn't work on byt edp, but dmesg contains a pile of these WARNs. Hence just references, since this likely won't fix the actual bug.

Pushed to -fixes, thanks for the patch.

BR,
Jani.

Quoted 5 lines

-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
#4 lore raw
Quoted 5 lines · Jani Nikula
Quoted 3 lines

The bug report complains that the crc stuff doesn't work on byt edp, but dmesg contains a pile of these WARNs. Hence just references, since this likely won't fix the actual bug.

Pushed to -fixes, thanks for the patch.

Imo not -fixes material, since only our own validation tools can hit this. And only through debugfs, so not even nasty userspace can trigger this without being root.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
maintainer
#5 lore raw
Quoted 11 lines · Daniel Vetter
Quoted 5 lines · Jani Nikula
Quoted 3 lines

The bug report complains that the crc stuff doesn't work on byt edp, but dmesg contains a pile of these WARNs. Hence just references, since this likely won't fix the actual bug.

Pushed to -fixes, thanks for the patch.

Imo not -fixes material, since only our own validation tools can hit this. And only through debugfs, so not even nasty userspace can trigger this without being root.

Pulled back from -fixes. It didn't happen.

Jani.

Signature · 1 line
Jani Nikula, Intel Open Source Technology Center