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

Commit ba5e01b0 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nv50/disp: fix a potential oops in supervisor handling



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent cf7c5d67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1270,7 +1270,7 @@ exec_clkcmp(struct nv50_disp_priv *priv, int head, int id, u32 pclk, u32 *conf)
	i--;

	outp = exec_lookup(priv, head, i, ctrl, &data, &ver, &hdr, &cnt, &len, &info1);
	if (!data)
	if (!outp)
		return NULL;

	if (outp->info.location == 0) {