]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: DispalyPort: Write OUI only if panel supports it
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 7 Apr 2020 14:22:27 +0000 (10:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:48 +0000 (18:11 -0400)
commit46ff47393e6a8974d12c1f949a1ba15c30aaaeb8
tree8b7e08e75c1921367fc17aab8494c91f025d2279
parent9cbfdde2edb334dda0cace325f1e4f78dfe6115d
drm/amd/display: DispalyPort: Write OUI only if panel supports it

[why]
Organizational Unit Identifier register is optional, and its
presence is published via Down Stream Port Count register.
Writing this register when not available will result in errors

[how]
Read this register and continue writing OUI only if the panel
has the support advertised.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c