Skip to content

Commit 3a0fa3b

Browse files
melissawenalexdeucher
authored andcommitted
drm/amd/display: fix bandwidth validation failure on DCN 2.1
IGT `amdgpu/amd_color/crtc-lut-accuracy` fails right at the beginning of the test execution, during atomic check, because DC rejects the bandwidth state for a fb sizing 64x64. The test was previously working with the deprecated dc_commit_state(). Now using dc_validate_with_context() approach, the atomic check needs to perform a full state validation. Therefore, set fast_validation to false in the dc_validate_global_state call for atomic check. Cc: stable@vger.kernel.org Fixes: b827224 ("drm/amd/display: Drop dc_commit_state in favor of dc_commit_streams") Signed-off-by: Melissa Wen <mwen@igalia.com> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 16783d8 commit 3a0fa3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10753,7 +10753,7 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev,
1075310753
DRM_DEBUG_DRIVER("drm_dp_mst_atomic_check() failed\n");
1075410754
goto fail;
1075510755
}
10756-
status = dc_validate_global_state(dc, dm_state->context, true);
10756+
status = dc_validate_global_state(dc, dm_state->context, false);
1075710757
if (status != DC_OK) {
1075810758
DRM_DEBUG_DRIVER("DC global validation failure: %s (%d)",
1075910759
dc_status_to_str(status), status);

0 commit comments

Comments
 (0)