]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Send DMCU messages only if FW loaded
authorAnthony Koo <Anthony.Koo@amd.com>
Thu, 4 Apr 2019 13:44:55 +0000 (09:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Apr 2019 22:27:51 +0000 (17:27 -0500)
commit7e0dff3b5e8c16c52f1c68167062dacfcc808f1b
treef9fe7baa0f70ff22c47ce493fff5e81bb07cba23
parente0a4b81f90718e7398fe41d85fde7bc07cf19317
drm/amd/display: Send DMCU messages only if FW loaded

[Why]
Some DMCU messages were being sent in cases where
there was no DMCU FW at all, which resulted in some wait
timeouts

[How]
Delay sending some of the DMCU messages after FW
init is called and DMCU is running.

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c