[PATCH v2] drm/plane_helper: Use helper for plane->CRTC linkage

2015-05-26 Thread Daniel Stone
plane_state->crtc shouldn't be assigned directly, but instead use drm_atomic_set_crtc_for_plane, which also takes care of updating the plane_mask on each CRTC's state. v2: First patch sent by mistake; this one checks the return value. Signed-off-by: Daniel Stone --- drivers/gpu/drm/drm_plane_he

[PATCH v2] drm/plane_helper: Use helper for plane->CRTC linkage

2015-05-26 Thread Daniel Stone
plane_state->crtc shouldn't be assigned directly, but instead use drm_atomic_set_crtc_for_plane, which also takes care of updating the plane_mask on each CRTC's state. v2: First patch sent by mistake; this one checks the return value. Signed-off-by: Daniel Stone --- drivers/gpu/drm/drm_plane_he