drm/amd/display: Preserve refcount for S3 case.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Thu, 13 Jul 2017 14:52:47 +0000 (10:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:15:10 +0000 (18:15 -0400)
commit60bf1860d29f4f459e8b195dc73fcb2d980500d0
treee04ed96fb7d8e729ef8c3d3ef6b523dbdb8f8c1e
parent587cdfe9463e6b66186c3c70fe7e63790cf4d148
drm/amd/display: Preserve refcount for S3 case.

Curent_context is zerroed out for suspend, keep the refcount.
Minor code move in dc_commit_context_no_check

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@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