]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix Edid emulation for linux
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Wed, 26 Sep 2018 17:42:10 +0000 (13:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 15:05:21 +0000 (10:05 -0500)
commit7250703e63f19a69ea2d53ab8c0c4cd7fb097337
tree57ed5ec08483c325ddc57e9610199c45a160fbea
parent0b743d479c59322c2fbd1a7c260c9d452d34f0c5
drm/amd/display: Fix Edid emulation for linux

[Why]
EDID emulation didn't work properly for linux, as we stop programming
if nothing is connected physically.

[How]
We get a flag from DRM when we want to do edid emulation. We check if
this flag is true and nothing is connected physically, if so we only
program the front end using VIRTUAL_SIGNAL.

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc_link.h