linux/drivers/gpu/drm/amd/display/dc/dcn10
Yi-Ling Chen 771ced73fc drm/amd/display: Fix underflow for fused display pipes case
[Why]
Depend on res_pool->res_cap->num_timing_generator to query timing
gernerator information, it would case underflow at the fused display
pipes case.
Due to the res_pool->res_cap->num_timing_generator records default
timing generator resource built in driver, not the current chip.

[How]
Some ASICs would be fused display pipes less than the default setting.
In dcnxx_resource_construct function, driver would obatin real timing
generator count and store it into res_pool->timing_generator_count.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Yi-Ling Chen <Yi-Ling.Chen2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-01-07 17:21:05 -05:00
..
dcn10_cm_common.c
dcn10_cm_common.h
dcn10_dpp_cm.c drm/amd/display: Simplify bool comparison 2021-01-14 13:20:21 -05:00
dcn10_dpp_dscl.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn10_dpp.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn10_dpp.h drm/amd/display: Remove the repeated dpp1_full_bypass declaration 2021-06-18 17:14:36 -04:00
dcn10_dwb.c
dcn10_dwb.h
dcn10_hubbub.c drm/amd/display: Add support for SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616. 2021-05-27 15:00:47 -04:00
dcn10_hubbub.h drm/amd/display: remove compbuf size wait 2021-07-21 13:39:25 -04:00
dcn10_hubp.c drm/amd/display: log additional register state for debug 2021-07-21 13:39:25 -04:00
dcn10_hubp.h drm/amd/display: log additional register state for debug 2021-07-21 13:39:25 -04:00
dcn10_hw_sequencer_debug.c drm/amd/display: fix type mismatch error for return variable 2021-02-09 15:48:28 -05:00
dcn10_hw_sequencer_debug.h
dcn10_hw_sequencer.c drm/amd/display: Fix underflow for fused display pipes case 2022-01-07 17:21:05 -05:00
dcn10_hw_sequencer.h drm/amd/display: Refactor visual confirm 2021-06-08 12:18:37 -04:00
dcn10_init.c drm/amd/display: Added power down for DCN10 2021-12-30 08:54:44 -05:00
dcn10_init.h
dcn10_ipp.c
dcn10_ipp.h drm/amd/display: add cyan_skillfish display support 2021-10-04 15:22:57 -04:00
dcn10_link_encoder.c drm/amd/display: add hdmi disable debug check 2021-12-01 16:05:16 -05:00
dcn10_link_encoder.h drm/amd/display: Fix B0 USB-C DP Alt mode 2021-09-23 15:17:30 -04:00
dcn10_mpc.c drm/amd/display: Refactor visual confirm 2021-06-08 12:18:37 -04:00
dcn10_mpc.h
dcn10_opp.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn10_opp.h
dcn10_optc.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn10_optc.h drm/amd/display: log additional register state for debug 2021-07-21 13:39:25 -04:00
dcn10_resource.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn10_resource.h
dcn10_stream_encoder.c drm/amd/display: Reset fifo after enable otg 2021-11-22 14:45:01 -05:00
dcn10_stream_encoder.h drm/amd/display: Reset fifo after enable otg 2021-11-22 14:45:01 -05:00
Makefile