Searched hist:"5 e335add" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_resource.h | 5e335add Tue Jun 04 17:14:43 CDT 2019 Eric Yang <Eric.Yang2@amd.com> drm/amd/display: early return when pipe_cnt is 0 in bw validation
[Why] Unintentionally introduced behaviour change from previous refactor, which causes clks to be 0 in no stream cases, which will cause divide by 0.
[How] Skip calculation of clocks when no stream. Which is the same as old behaviour.
Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Tony Cheng <tong.cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> 5e335add Tue Jun 04 17:14:43 CDT 2019 Eric Yang <Eric.Yang2@amd.com> drm/amd/display: early return when pipe_cnt is 0 in bw validation [Why] Unintentionally introduced behaviour change from previous refactor, which causes clks to be 0 in no stream cases, which will cause divide by 0. [How] Skip calculation of clocks when no stream. Which is the same as old behaviour. Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Tony Cheng <tong.cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
H A D | dcn20_resource.c | 5e335add Tue Jun 04 17:14:43 CDT 2019 Eric Yang <Eric.Yang2@amd.com> drm/amd/display: early return when pipe_cnt is 0 in bw validation
[Why] Unintentionally introduced behaviour change from previous refactor, which causes clks to be 0 in no stream cases, which will cause divide by 0.
[How] Skip calculation of clocks when no stream. Which is the same as old behaviour.
Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Tony Cheng <tong.cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> 5e335add Tue Jun 04 17:14:43 CDT 2019 Eric Yang <Eric.Yang2@amd.com> drm/amd/display: early return when pipe_cnt is 0 in bw validation [Why] Unintentionally introduced behaviour change from previous refactor, which causes clks to be 0 in no stream cases, which will cause divide by 0. [How] Skip calculation of clocks when no stream. Which is the same as old behaviour. Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Tony Cheng <tong.cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|