• Daniel Vetter's avatar
    drm: Add a plane->reset hook · 2a0d7cfd
    Daniel Vetter authored
    In general having this can't hurt, and the atomic helpers will need
    it to be able to reset the state objects properly. The overall idea
    is to reset in the order pixels flow, so planes -> crtcs ->
    encoders -> connectors.
    
    v2: Squash in fixup from Ville to correctly deference struct drm_plane
    instead of drm_crtc when walking the plane list. Fixes an oops in
    driver init and resume.
    Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    2a0d7cfd
drm_crtc.h 40.7 KB