diff options
author | Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> | 2017-03-28 16:57:52 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:22:17 -0400 |
commit | 7c7f5b15be6528b33d825ead6acb739d7d061a2e (patch) | |
tree | 93336895662530093c76410b81c728eec0377f8c /drivers/gpu/drm/amd/display/dc/dm_helpers.h | |
parent | bb01672c79649de08fe335b55aea5315d781c443 (diff) | |
download | linux-7c7f5b15be6528b33d825ead6acb739d7d061a2e.tar.gz linux-7c7f5b15be6528b33d825ead6acb739d7d061a2e.tar.bz2 linux-7c7f5b15be6528b33d825ead6acb739d7d061a2e.zip |
drm/amd/display: Refactor edid read.
Allow Linux to use DRM provided EDID read functioality
by moving DAL edid implementation to module hence
removing this code from DC by this cleaning up DC
code for upstream.
v2: Removing ddc_service. No more need for it.
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dm_helpers.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dm_helpers.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dm_helpers.h b/drivers/gpu/drm/amd/display/dc/dm_helpers.h index d6c52d31f0f0..c15a25ce8049 100644 --- a/drivers/gpu/drm/amd/display/dc/dm_helpers.h +++ b/drivers/gpu/drm/amd/display/dc/dm_helpers.h @@ -98,4 +98,14 @@ bool dm_helpers_submit_i2c( struct i2c_command *cmd); + + + + +enum dc_edid_status dm_helpers_read_local_edid( + struct dc_context *ctx, + struct dc_link *link, + struct dc_sink *sink); + + #endif /* __DM_HELPERS__ */ |