drm/nv50: fill in crtc mode struct members from crtc_mode_fixup
authorBen Skeggs <bskeggs@redhat.com>
Fri, 24 Jan 2014 00:13:23 +0000 (10:13 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 29 Jan 2014 22:18:26 +0000 (08:18 +1000)
commiteb2e9686d6bc94559dc7f25ed1e67ebbf0a9a41b
tree3597e659b268a9ec682a37a6d8c9ddddc13fec17
parent1139ffb96b3f4e8be9006552d2dd4d302d62c2ee
drm/nv50: fill in crtc mode struct members from crtc_mode_fixup

The DRM uses the adjusted mode to calculate constants for vblank
timestamping.  Our encoder mode_fixup (usually) replaces this data
with our backend mode information, which doesn't have the needed
data filled in already.

Reported-by: Mario Kleiner mario.kleiner.de@gmail.com
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c