OSDN Git Service

drm/amd/display: Don't reset clock source at unref
authorHarry Wentland <harry.wentland@amd.com>
Mon, 28 Aug 2017 22:43:45 +0000 (18:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:17:33 +0000 (18:17 -0400)
commit4a6295361c737a80e9f079952ac863a3b0c26acf
tree140d7d9c74fd0ea2a08d74831ceb151f0c28017c
parent83524646611381c4b0e31ffc5286cb05f8818aba
drm/amd/display: Don't reset clock source at unref

Powering down the clock source during unref is unsafe as we might want
to unref during atomic_check

Signed-off-by: Harry Wentland <harry.wentland@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_resource.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/inc/resource.h