drm/atomic: Only update crtc->x/y if it's part of the state, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 16 Jul 2015 13:51:01 +0000 (15:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 16 Jul 2015 14:58:14 +0000 (16:58 +0200)
commit2660801f7323b84fc2ad46449a5d1f331266d9f7
tree6103577b0a63fa3698136f8b567f02b13bc0b8ad
parent6066677cfd9d73734ab678b9d14013c860f0f732
drm/atomic: Only update crtc->x/y if it's part of the state, v2.

Universal planes may not be assigned to the current crtc, so only
update crtc->x/y when the primary is part of the state and bound
to the current crtc.

Changes since v1:
- Add the crtc check.

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic_helper.c