https://bugzilla.kernel.org/show_bug.cgi?id=199101 Paweł (pawel.pc44@xxxxxxxxx) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pawel.pc44@xxxxxxxxx --- Comment #14 from Paweł (pawel.pc44@xxxxxxxxx) --- Since nobody cared I bisected the issue: >commit 36cc549d59864b7161f0e23d710c1c4d1b9cf022 >Author: Shirish S <shirish.s@xxxxxxx> >Date: Wed Feb 28 12:14:58 2018 +0530 > > drm/amd/display: disable CRTCs with NULL FB on their primary plane (V2) > > The below commit > > "drm/atomic: Try to preserve the crtc enabled state in > >drm_atomic_remove_fb, v2" > > introduces a slight behavioral change to rmfb. Instead of disabling a crtc > when the primary plane is disabled, it now preserves it. > > This change leads to BUG hit while performing atomic commit on amd driver. > > As a fix this patch ensures that we disable the CRTC's with NULL FB by > >returning > -EINVAL and hence triggering fall back to the old behavior and turning off > >the > crtc in atomic_remove_fb(). > > V2: Added error check for plane_state and removed sanity check for crtc. > > Signed-off-by: Shirish S <shirish.s@xxxxxxx> > Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@xxxxxxx> > Reviewed-by: Harry Wentland <harry.wentland@xxxxxxx> > Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> > >:040000 040000 9b8fd67908699d2651daa93fab59b21e7a76b1c6 >>21bbcb69561e67e5acf63d56344c7ba7ac4146a6 M drivers It makes my AMD Radeon RX 480 flicker a lot. -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel