aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2018-11-01 20:46:44 +0200
committerVille Syrjälä <[email protected]>2018-11-07 19:21:56 +0200
commit534903d60376b4989b76ec445630aa10f2bc3043 (patch)
tree2a2c00ba2c70e15c6eccedbd5300f64b058d625a /net/switchdev/switchdev.c
parente7afb623b4fb82089c9a50c733c740522b8220bc (diff)
drm/atomic: Use explicit old crtc state in drm_atomic_add_affected_planes()
Replace 'crtc->state' with the explicit old crtc state. Actually it shouldn't matter whether we use the old or the new crtc state here since any plane that has been removed from the crtc since the crtc state was duplicated will have been added to the atomic state already. That is, you can't call drm_atomic_set_crtc_for_plane() without having the new plane state already in hand. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]> Acked-by: Harry Wentland <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions