Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 804cc4a0 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop()



The save struct is not initialized previously so explicitly
mark the crtcs as not used when they are not in use.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 6f755116
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1330,6 +1330,8 @@ void evergreen_mc_stop(struct radeon_device *rdev, struct evergreen_mc_save *sav
					break;
				udelay(1);
			}
		} else {
			save->crtc_enabled[i] = false;
		}
	}