]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix p-state allow debug index on dcn31
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 18 Mar 2022 15:10:34 +0000 (11:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Mar 2022 16:40:24 +0000 (12:40 -0400)
commitbf853857da579c32df0b07154fc7d8951a68032b
treee5e8e9cca54bfa08a7bb3f14581b9ea41bf94082
parenta167d5018cb62c49864e8f01c3ab5417081e2d38
drm/amd/display: Fix p-state allow debug index on dcn31

[Why]
It changed since dcn30 but the hubbub31 constructor hasn't been
modified to reflect this.

[How]
Update the value in the constructor to 0x6 so we're checking the right
bits for p-state allow.

It worked before by accident, but can falsely assert 0 depending on HW
state transitions. The most frequent of which appears to be when
all pipes turn off during IGT tests.

Cc: Harry Wentland <harry.wentland@amd.com>
Fixes: 44431b6915f720 ("drm/amd/display: Add pstate verification and recovery for DCN31")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Eric Yang <Eric.Yang2@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c