drm/amd/display/dm: add support for OEM i2c bus

Expose the OEM i2c bus on boards that support it.
This bus is used for OEM specific features like RGB, etc.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher
2024-12-17 09:55:49 -05:00
parent b217105acb
commit 3d5470c973
2 changed files with 42 additions and 0 deletions

View File

@@ -606,6 +606,13 @@ struct amdgpu_display_manager {
* Bounding box data read from dmub during early initialization for DCN4+
*/
struct dml2_soc_bb *bb_from_dmub;
/**
* @oem_i2c:
*
* OEM i2c bus
*/
struct amdgpu_i2c_adapter *oem_i2c;
};
enum dsc_clock_force_state {