drm/nouveau/kms/nv50: separate out mode commit
authorBen Skeggs <bskeggs@redhat.com>
Fri, 4 Nov 2016 07:20:36 +0000 (17:20 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 7 Nov 2016 04:04:51 +0000 (14:04 +1000)
commit3dbd036b841931c3f988f8cbf77d3d4b7b1513d3
tree0bd483c1e6b2dfd2f0896f8043cffacfb54ce5dc
parent5a223daccbf378db9359dc42a249290785a26f14
drm/nouveau/kms/nv50: separate out mode commit

This commit separates the calculation of EVO state from the commit, in
order to make the same code useful for atomic modesetting.

The legacy interfaces have been wrapped on top of them.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nv50_display.c