]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Correct updating logic of dcn21's pipe VM flags
authorDale Zhao <dale.zhao@amd.com>
Fri, 27 Mar 2020 12:11:55 +0000 (20:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:46 +0000 (18:11 -0400)
commitaf52fcc2737691736f029b1043c8a79edcfa27dd
treeb6e5efead3071a24d50de68659109af680cb5650
parent42912bb5fb96bab82253821a99c3d7c68f8e65dd
drm/amd/display: Correct updating logic of dcn21's pipe VM flags

[Why]:
Renoir's pipe VM flags are not correctly updated if pipe strategy has
changed during some scenarios. It will result in watermarks mistakenly
calculation, thus underflow and garbage appear.

[How]:
Correctly update pipe VM flags to pipes which have been populated.

Signed-off-by: Dale Zhao <dale.zhao@amd.com>
Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c