• D
    drm/atomic-helpers: Saner encoder/crtc callbacks · ee0a89cf
    Daniel Vetter 提交于
    For historical reasons going all the way back to how the Xrandr code
    was implemented the semantics of the callbacks used to enable/disable
    crtcs and encoders are ... interesting.
    
    But with atomic helpers all that complexity has been binned, with only
    a well-defined on/off action left. Unfortunately the names stuck.
    
    Let's fix that by adding enable/disable hooks every, make them the
    preferred variant for atomic and update documentations.
    
    Later on we add debug warnings when drivers have deprecated hooks. But
    while everything is in-flight with lots of drivers converting to
    atomic that's a bit too much - better wait for things to settle a bit
    first.
    
    v2: Fix kerneldoc, reported by Wu Fengguang.
    Reviewed-by: NThierry Reding <treding@nvidia.com>
    Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
    ee0a89cf
drm_atomic_helper.c 56.7 KB