]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amd/display: Fix MPCC DTN logging
authorEric Bernstein <eric.bernstein@amd.com>
Wed, 28 Nov 2018 16:17:53 +0000 (11:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 02:06:46 +0000 (22:06 -0400)
commite9a48b6b957c81aeeda6d95604f1c53fa61ab1fd
tree95ad89aac761d3631eb7db72c985570d6f8aa5f1
parent314a58b8aeeb2f8f72233178ed2e29f81b355355
drm/amd/display: Fix MPCC DTN logging

[Why]
DTN only logs 'pipe_count' instances of MPCC.
However in some cases there are different number of
MPCC than DPP (pipe_count).

[How]
Add mpcc_count parameter to resource_pool and set it
during pool construction and use it for DTN logging of
MPCC state.

Signed-off-by: Eric Bernstein <eric.bernstein@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c