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)
commit967727021e75f6c1d9972d5a87f759155f935d75
tree8b7e08e75c1921367fc17aab8494c91f025d2279
parentd4caa72e275c1920d38a9541b2e4dcc167733734
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