We should also use it to determine pipe count.
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
 };
 
 static const struct resource_caps res_cap = {
-               .num_timing_generator = 3,
+               .num_timing_generator = 6,
                .num_audio = 7,
                .num_stream_encoder = 6,
                .num_pll = 6,
        pool->base.funcs = &dce120_res_pool_funcs;
 
        /* TODO: Fill more data from GreenlandAsicCapability.cpp */
-       pool->base.pipe_count = 6;
+       pool->base.pipe_count = res_cap.num_timing_generator;
        pool->base.underlay_pipe_index = NO_UNDERLAY_PIPE;
 
        dc->public.caps.max_downscale_ratio = 200;