diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2021-12-16 11:19:30 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-01-07 17:22:01 -0500 |
commit | 19e43f1276b38716ad558c2018535e475cb9f3cf (patch) | |
tree | e7911478da8c7ca3180d58f57828f12b949a2da5 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
parent | 214993e106ea84a82e2c644bff3dbbe601b11e04 (diff) |
drm/amd/display: Add version check before using DP alt query interface
[Why]
To maintain compatibility with firmware older than 4.0.11.
Those firmware may have interrmittent hangs with RDCSPIPE or the PHY,
but we shouldn't regress their previous behavior.
[How]
Use the new path if firmware is development or 4.0.11 or newer. Use the
legacy path otherwise.
Fixes: 41f91315b5be5a ("drm/amd/display: Query DMCUB for dp alt status")
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Hansen Dsouza <hansen.dsouza@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions