提交 ba5e01b0 编写于 作者: B Ben Skeggs

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

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册