OSDN Git Service

drm/amd/display: refactor programming of DRR
authorAnthony Koo <Anthony.Koo@amd.com>
Sun, 20 Jan 2019 06:45:36 +0000 (01:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Feb 2019 18:31:15 +0000 (13:31 -0500)
commit9c0fb8d45bfcf2e8f080489913db443c1fd241ed
treeee9763003583c13aad0a67227fde5fac6830e29c
parentd2d7885f75b614a982a73383956570d95d79c23e
drm/amd/display: refactor programming of DRR

[Why]
Keep enable_stream_timing programming only
timing related stuff.

[How]
Move DRR and static screen mask programming from
enable_stream_timing to outside in
apply_single_controller_ctx_to_hw

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c