linux/drivers/gpu/drm/amd
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
..
acp
amdgpu drm/amdgpu: don't set s3 and s0ix at the same time 2022-01-07 17:20:55 -05:00
amdkfd drm/amdkfd: enable sdma ecc interrupt event can be handled by event_interrupt_wq_v9 2022-01-07 17:19:14 -05:00
display drm/amd/display: Fix underflow for fused display pipes case 2022-01-07 17:21:05 -05:00
include drm/amdgpu: add support for IP discovery gc_info table v2 2021-12-16 14:08:20 -05:00
pm drm/amd/pm: keep the BACO feature enabled for suspend 2022-01-07 17:19:46 -05:00