]> Git Repo - linux.git/commit
drm/amd/display: Clear pipe pointers on pipe reset
authorJoshua Aberback <[email protected]>
Thu, 3 Oct 2024 21:28:11 +0000 (17:28 -0400)
committerAlex Deucher <[email protected]>
Tue, 15 Oct 2024 15:24:07 +0000 (11:24 -0400)
commitc0933f1de2a5eab2fefd07372b415583675cfe9f
treedbcecef1faf130060e0a880602267aac5a12aa00
parentc6335dad37c1332124f8d6ed5dcb046614fc9902
drm/amd/display: Clear pipe pointers on pipe reset

[Why]
We want to clean up unnecessary asserts, one of which is an assert in
resource_is_pipe_type that fires if a pipe has no stream and still has
pointers to other pipes ("dangling state"). This gets hit because pipes
are not properly cleaned up in reset_back_end_for_pipe. When resetting a
pipe, the existing MPCC / ODM combine pointers are no longer valid,
especially when we put ODM in bypass.

[How]
 - reset pipe pointers in reset_back_end_for_pipe
 - remove useless code to avoid confusion
     (a long time ago it had a reason to be there, not anymore)

Reviewed-by: Alvin Lee <[email protected]>
Signed-off-by: Joshua Aberback <[email protected]>
Signed-off-by: Roman Li <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
This page took 0.053577 seconds and 4 git commands to generate.