Commit ba5e01b0 authored by Ben Skeggs's avatar Ben Skeggs

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

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent cf7c5d67
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment