Op 15-12-16 om 16:55 schreef Daniel Vetter:
On Thu, Dec 15, 2016 at 12:51:42PM +0100, Maarten Lankhorst wrote:
Stop relying on a per crtc_state last_vblank_count, we shouldn't touch crtc_state after commit. Move it to atomic_state->crtcs.
Also stop re-using new_crtc_state->enable, we can now simply set a bitmask with crtc_crtc_mask.
Changes since v1:
- Keep last_vblank_count in __drm_crtc_state.
Just noticed: sob is missing.
With that fixed Reviewed-by: Daniel Vetter daniel.vetter@ffwll.ch
Oh indeed, noticed it too when resending but forgot to re-add.
Signed-off-by: Maarten Lankhorst maarten.lankhorst@linux.intel.com