drm: If available use atomic state in getcrtc ioctl
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 22 Feb 2015 11:24:17 +0000 (12:24 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Feb 2015 10:20:11 +0000 (11:20 +0100)
commit31c946e85ce6b48ce0f25e3cdca8362e4fe8b300
treed58f76c5d29d2c3cc066bb1bdb9c8306d6f02af7
parent17a38d9c254bf4e3b0d8b7ccd5c1988cb63730ff
drm: If available use atomic state in getcrtc ioctl

This way drivers fully converted to atomic don't need to update these
legacy state variables in their modeset code any more.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_crtc.c