OSDN Git Service

drm/amd/display: Set Stream Update Flags in commit_state_no_check
authorAustin Zheng <austin.zheng@amd.com>
Wed, 26 Jul 2023 14:18:39 +0000 (10:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 21:14:08 +0000 (17:14 -0400)
commit6cffc78e5ad5e8f2ad81ed11d42a522993fd52b9
tree074e9778d0af7a8465225f4f35cf71c331f36f1c
parentd43270559c3ed00c4d393c091229766798f6539d
drm/amd/display: Set Stream Update Flags in commit_state_no_check

[Why]
Front-end would be programmed using the stream update flags set
from the previous update and the full update should be triggered
whenever commit_state_no_check gets called.

[How]
Set all stream update flags before programming the front-end
Clear all flags that got set to avoid redundant programming

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Austin Zheng <austin.zheng@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c