mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
drm/nv50-/kms: wait for enough ring space in crtc_prepare()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
6e8e268bac
commit
56d237d268
@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* Copyright 2011 Red Hat Inc.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@ -957,7 +957,7 @@ nv50_crtc_prepare(struct drm_crtc *crtc)
|
||||
|
||||
nv50_display_flip_stop(crtc);
|
||||
|
||||
push = evo_wait(mast, 2);
|
||||
push = evo_wait(mast, 6);
|
||||
if (push) {
|
||||
if (nv50_vers(mast) < NV84_DISP_MAST_CLASS) {
|
||||
evo_mthd(push, 0x0874 + (nv_crtc->index * 0x400), 1);
|
||||
|
Loading…
Reference in New Issue
Block a user