drm/amd/display: Move lock to front end program.
authorYongqiang Sun <yongqiang.sun@amd.com>
Tue, 17 Oct 2017 18:48:11 +0000 (14:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:33:20 +0000 (16:33 -0500)
commit3dc780ec3473200ef870eae9b19169445d76be4c
tree5a748c778722a5adba5b473056f80d6eb2543b51
parent553aae12e3ad4d4d9cb9accb129a8c818bce506b
drm/amd/display: Move lock to front end program.

Moved lock and unlock to apply_ctx_to_surface, since all
the front end programming is within apply_ctx_to_surface.

Signed-off-by: Yongqiang Sun <yongqiang.sun@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>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c