aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2024-12-17 14:28:25 +0000
committerAlex Deucher <[email protected]>2025-02-13 02:02:54 +0000
commitb217105acbfa366f156bf40341e83bec94fbffec (patch)
tree2b147be14cd9d9c1e6ab1a44ee22270a2ee819ef /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentdrm/amd/display/dc: add a new helper to fetch the OEM ddc_service (diff)
downloadkernel-b217105acbfa366f156bf40341e83bec94fbffec.tar.gz
kernel-b217105acbfa366f156bf40341e83bec94fbffec.zip
drm/amd/display/dm: handle OEM i2c buses in i2c functions
Allow the creation of an OEM i2c bus and use the proper DC helpers for that case. Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index 5e3faefc5510..6da4f946cac0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -609,6 +609,7 @@ struct amdgpu_i2c_adapter {
struct i2c_adapter base;
struct ddc_service *ddc_service;
+ bool oem;
};
#define TO_DM_AUX(x) container_of((x), struct amdgpu_dm_dp_aux, aux)