diff options
author | Dave Airlie <airlied@redhat.com> | 2017-11-01 10:05:03 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-11-01 10:05:03 +1000 |
commit | 25dd1aa3b4cf0c361147aa45ff4dd1d335259ac1 (patch) | |
tree | 47111c1e2c74ecff6683d38be614c40e93baf53a /drivers | |
parent | 0b07194bb55ed836c2cc7c22e866b87a14681984 (diff) | |
parent | d324c5bc462d354d337dcf3a14ffd0eb17b4fa38 (diff) | |
download | linux-stable-25dd1aa3b4cf0c361147aa45ff4dd1d335259ac1.tar.gz linux-stable-25dd1aa3b4cf0c361147aa45ff4dd1d335259ac1.tar.bz2 linux-stable-25dd1aa3b4cf0c361147aa45ff4dd1d335259ac1.zip |
Merge branch 'linux-4.14' of git://github.com/skeggsb/linux into drm-fixes
single nouveau regression fix.
* 'linux-4.14' of git://github.com/skeggsb/linux:
drm/nouveau/kms/nv50: use the correct state for base channel notifier setup
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_display.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index e4751f92b342..fb47d46050ec 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -4099,7 +4099,7 @@ nv50_disp_atomic_commit(struct drm_device *dev, { struct nouveau_drm *drm = nouveau_drm(dev); struct nv50_disp *disp = nv50_disp(dev); - struct drm_plane_state *old_plane_state; + struct drm_plane_state *new_plane_state; struct drm_plane *plane; struct drm_crtc *crtc; bool active = false; @@ -4129,8 +4129,8 @@ nv50_disp_atomic_commit(struct drm_device *dev, if (ret) goto err_cleanup; - for_each_old_plane_in_state(state, plane, old_plane_state, i) { - struct nv50_wndw_atom *asyw = nv50_wndw_atom(old_plane_state); + for_each_new_plane_in_state(state, plane, new_plane_state, i) { + struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); struct nv50_wndw *wndw = nv50_wndw(plane); if (asyw->set.image) { |