Commit 56d237d2 authored by Ben Skeggs's avatar Ben Skeggs

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

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