]> 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)
commit66fddfb24233d65cf9c511c439c2c1b7feeae9fa
tree57ed5ec08483c325ddc57e9610199c45a160fbea
parent8f585b7f4020afa1729933c5b64338414c41892f
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