]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Only program watermark for full update.
authorYongqiang Sun <yongqiang.sun@amd.com>
Mon, 13 Nov 2017 22:22:17 +0000 (17:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:48:13 +0000 (12:48 -0500)
commit596c9668f8b0c7cd96e0046b6c6c862893d1101e
tree877637c3fdbeccf4782cc944aecc507e8b1ccc85
parent9f9108a1e84fb636471933cfa70ee884fad6c8fd
drm/amd/display: Only program watermark for full update.

For scaling and position change, it isn't necessary to program
watermark and check P-State as well.

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/dcn10/dcn10_dpp_dscl.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c