提交 56d237d2 编写于 作者: B Ben Skeggs

drm/nv50-/kms: wait for enough ring space in crtc_prepare()

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 6e8e268b
/* /*
* Copyright 2011 Red Hat Inc. * Copyright 2011 Red Hat Inc.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
...@@ -957,7 +957,7 @@ nv50_crtc_prepare(struct drm_crtc *crtc) ...@@ -957,7 +957,7 @@ nv50_crtc_prepare(struct drm_crtc *crtc)
nv50_display_flip_stop(crtc); nv50_display_flip_stop(crtc);
push = evo_wait(mast, 2); push = evo_wait(mast, 6);
if (push) { if (push) {
if (nv50_vers(mast) < NV84_DISP_MAST_CLASS) { if (nv50_vers(mast) < NV84_DISP_MAST_CLASS) {
evo_mthd(push, 0x0874 + (nv_crtc->index * 0x400), 1); evo_mthd(push, 0x0874 + (nv_crtc->index * 0x400), 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册