We have a read-modify-write race when updating SCALER_DISPCTRL for
underrun and end-of-frame interrupts.
Ideally it would be fixed via a spinlock or similar, but that will
require a reasonable amount of study to ensure we don't get deadlocks.
The underrun reporting is only for debug, so disable it for now.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
* the CRTC and encoder already reconfigured, leading to
* underruns. This can be seen when reconfiguring the CRTC.
*/
- if (vc4->gen < VC4_GEN_6)
+ if (0 && vc4->gen < VC4_GEN_6)
vc4_hvs_unmask_underrun(hvs, chan);
}
spin_unlock(&vc4_crtc->irq_lock);
if (WARN_ON(IS_ERR(new_hvs_state)))
return;
- if (vc4->gen < VC4_GEN_6) {
+ if (0 && vc4->gen < VC4_GEN_6) {
struct drm_crtc_state *new_crtc_state;
struct drm_crtc *crtc;
int i;