summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>2017-04-30 09:20:55 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:06:54 -0400
commit46df790c6b569faffb4cc93889745a7827283749 (patch)
treeaaa921c182a10f824d1a163d3e3cc2eb98ebcf12 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parent15a27de250a5e5a2dec7c0bf004db0511353e3f3 (diff)
drm/amd/display: i2c/aux Remove link index.
Link index is an unnecessery level of inderection when calling from kernel i2c/aux transfer into DAL. Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index bdae70e128c4..be51ac56552c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -546,13 +546,13 @@ enum amdgpu_connector_dither {
struct amdgpu_dm_dp_aux {
struct drm_dp_aux aux;
- uint32_t link_index;
+ struct ddc_service *ddc_service;
};
struct amdgpu_i2c_adapter {
struct i2c_adapter base;
- struct amdgpu_display_manager *dm;
- uint32_t link_index;
+
+ struct ddc_service *ddc_service;
};
#define TO_DM_AUX(x) container_of((x), struct amdgpu_dm_dp_aux, aux)