summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
diff options
context:
space:
mode:
authorDavid Francis <David.Francis@amd.com>2018-11-29 14:36:25 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-01-14 15:40:40 -0500
commiteae5ffa9bd7b898486e467633ef2b8aaf086ad05 (patch)
tree5e1d569e61e8aef0af6180d4b92edca56225e01e /drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
parentad6756b4d773aae68430a7d8b3c35c6717de5a15 (diff)
drm/amd/display: Switch ddc to new aux interface
[Why] The old aux interface goes through i2caux and the aux_engine and engine function pointers. The multiple layers of indirection make it hard to tell waht is happening. The aux algorithm does not need to be this complicated: attempt to submit the request. If you get an ack (reply = 0), stop. Otherwise, retry, up to 7 times. [How] Add a new helper function in dce_aux that performs aux retries Move the plumbing of the aux calling code into dce_aux Add functions in ddc that redirect directly to dce_aux Make all aux calls use these functions Signed-off-by: David Francis <David.Francis@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c')
0 files changed, 0 insertions, 0 deletions