aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2018-07-19 13:24:33 -0500
committerAlex Deucher <[email protected]>2018-07-20 14:24:55 -0500
commitfe1053b7859dcbe830212de43befe6c7e4f089a8 (patch)
treea9820ef97615e6db0585b168afd3607770ca7fbb /net/switchdev/switchdev.c
parente7854a038015122538df4777b8c192e03b4eb6c2 (diff)
drm/amdgpu: rework suspend and resume to deal with atomic changes
Use the newly split ip suspend functions to do suspend displays first (to deal with atomic so that FBs can be unpinned before attempting to evict vram), then evict vram, then suspend the other IPs. Also move the non-DC pinning code to only be called in the non-DC cases since atomic should take care of DC. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107065 Fixes: e00fb85 drm: Stop updating plane->crtc/fb/old_fb on atomic drivers Acked-by: Harry Wentland <[email protected]> Reviewed-and-tested-by: Andrey Grodzovsky <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions