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>
Fri, 24 Apr 2020 13:41:31 +0000 (09:41 -0400)
commit933fe2cbf234afcd92d26e233c45f206af147616
tree3a469ad55275e3072ceadcf5dbc0173e2c3c3b37
parente32b2484b3e00170b6cf57d99a18972e174e10ea
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