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