drm/amd/display: Pass override OUI in to dc_init_data
authorCalvin Hou <Calvin.Hou@amd.com>
Mon, 27 Jan 2020 19:40:41 +0000 (14:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 16:49:47 +0000 (11:49 -0500)
commit0136684f9b58b78fb2b8671e8eaa7bfc41330e0f
treeb195b45dfa04b83365da9c5dfefd02366551c807
parent5c4a6d6297b0767c00d66349627b3c2f0d7866a7
drm/amd/display: Pass override OUI in to dc_init_data

[WHY]
Vendor dongle requires propietary OUI and handshake sequence.

[HOW]
Add a new structure to dc_init_data, to allow creator to pass
an override vendor_oui. This value will be written to DP_SOURCE_OUI
instead of AMD signature, when dpcd_set_source_specific_data is
called.

Signed-off-by: Calvin Hou <Calvin.Hou@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@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.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_dp_types.h