summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_ddc_types.h
diff options
context:
space:
mode:
authorAnthony Koo <Anthony.Koo@amd.com>2019-10-02 12:22:29 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-10-25 16:50:09 -0400
commite9c93e5af395022eb52923ae84e29b9b0b6d7073 (patch)
treee43d16c1dc9479f988bc92a57b65870d97a85257 /drivers/gpu/drm/amd/display/dc/dc_ddc_types.h
parent4d25a0d51056755001d9b8803b57f11e37877196 (diff)
downloadlinux-stable-e9c93e5af395022eb52923ae84e29b9b0b6d7073.tar.gz
linux-stable-e9c93e5af395022eb52923ae84e29b9b0b6d7073.tar.bz2
linux-stable-e9c93e5af395022eb52923ae84e29b9b0b6d7073.zip
drm/amd/display: Proper return of result when aux engine acquire fails
[Why] When aux engine acquire fails, we missed populating the operation_result that describes the failure reason. [How] Set operation_result to new type: AUX_CHANNEL_OPERATION_FAILED_ENGINE_ACQUIRE in the case aux engine acquire has failed. Signed-off-by: Anthony Koo <Anthony.Koo@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@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/dc_ddc_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_ddc_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_ddc_types.h b/drivers/gpu/drm/amd/display/dc/dc_ddc_types.h
index 4ef97f65e55d..4f8f576d5fcf 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_ddc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_ddc_types.h
@@ -49,7 +49,8 @@ enum aux_channel_operation_result {
AUX_CHANNEL_OPERATION_FAILED_REASON_UNKNOWN,
AUX_CHANNEL_OPERATION_FAILED_INVALID_REPLY,
AUX_CHANNEL_OPERATION_FAILED_TIMEOUT,
- AUX_CHANNEL_OPERATION_FAILED_HPD_DISCON
+ AUX_CHANNEL_OPERATION_FAILED_HPD_DISCON,
+ AUX_CHANNEL_OPERATION_FAILED_ENGINE_ACQUIRE
};