]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Device flash garbage before get in OS
authorChiawen Huang <chiawen.huang@amd.com>
Thu, 21 Jul 2022 13:57:05 +0000 (21:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Sep 2022 08:31:31 +0000 (10:31 +0200)
commitab01ac7fa985755e29663283ec13179e99bf8fcf
tree6df5fdff9a0dba6eea027cefc2725c0a5e05dada
parentae29c0c466812726347813ab44bc144f0b4644b6
drm/amd/display: Device flash garbage before get in OS

[ Upstream commit 9c580e8f6cd6524d4e2c3490c440110526f7ddd6 ]

[Why]
Enabling stream with tg lock makes config settings
pending causing the garbage until tg unlock.

[How]
Keep the original lock mechanism
The driver doesn't lock tg if plane_state is null.

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Chiawen Huang <chiawen.huang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c