summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-08-15 10:52:50 +0200
committerDave Airlie <airlied@redhat.com>2017-08-16 12:06:02 +1000
commitefa479352fc780b305fa186cafb5f416fdf2b2cb (patch)
tree746fb290dd453b53cd881cdd9c38f72db67049c7 /include/drm
parent0c697fafc66830ca7d5dc19123a1d0641deaa1f6 (diff)
downloadop-kernel-dev-efa479352fc780b305fa186cafb5f416fdf2b2cb.zip
op-kernel-dev-efa479352fc780b305fa186cafb5f416fdf2b2cb.tar.gz
drm/nouveau: Fix merge commit
The most recent merge commit in airlied/drm-next has problems with confusing old_crtc_state and new_crtc_state. Use the for_each_oldnew_crtc_in_state macros to clean up the confusion, and explicitly look at the correct state instead of looking at asyh->state. With these fixes it becomes more obvious what the code is trying to do, which will hopefully prevent future confusion. Cc: Dave Airlie <airlied@redhat.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud