commit | 27b3f4fc91e1df74aa15f669c9b032d73dee2ef8 | [log] [tgz] |
---|---|---|
author | Leo (Sunpeng) Li <sunpeng.li@amd.com> | Fri Nov 10 16:12:08 2017 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Dec 06 12:48:11 2017 -0500 |
tree | e2a2038612e973e8072b605eb4fb4e01d8929108 | |
parent | 000b59ea9f8360a3e82efe1f4adef4d215ba18c8 [diff] |
drm/amd/display: Do not program front-end twice The sequence of front-end > back-end > front-end programming will program the front-end more than once. Add a mode_changed flag, and use it to determine whether the front-end should be programmed before, or after back-end. Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>