aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
diff options
context:
space:
mode:
authorFangzhi Zuo <[email protected]>2022-07-06 19:52:46 +0000
committerAlex Deucher <[email protected]>2022-07-13 15:25:16 +0000
commit57b9f3384c64e37bbdad7f127625ac3733d11e5c (patch)
treee93aaabf143b9162eeb576167970a6364471b532 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
parentdrm/amdkfd: bump KFD version for unified ctx save/restore memory (diff)
downloadkernel-57b9f3384c64e37bbdad7f127625ac3733d11e5c.tar.gz
kernel-57b9f3384c64e37bbdad7f127625ac3733d11e5c.zip
drm/amd/display: Ignore First MST Sideband Message Return Error
[why] First MST sideband message returns AUX_RET_ERROR_HPD_DISCON on certain intel platform. Aux transaction considered failure if HPD unexpected pulled low. The actual aux transaction success in such case, hence do not return error. [how] Not returning error when AUX_RET_ERROR_HPD_DISCON detected on the first sideband message. v2: squash in additional DMI entries v3: squash in static fix Signed-off-by: Fangzhi Zuo <[email protected]> Acked-by: Solomon Chiu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h')
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
index 73755b304299..7bd750e9f891 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
@@ -547,6 +547,14 @@ struct amdgpu_display_manager {
* last successfully applied backlight values.
*/
u32 actual_brightness[AMDGPU_DM_MAX_NUM_EDP];
+
+ /**
+ * @aux_hpd_discon_quirk:
+ *
+ * quirk for hpd discon while aux is on-going.
+ * occurred on certain intel platform
+ */
+ bool aux_hpd_discon_quirk;
};
enum dsc_clock_force_state {