linux/drivers/gpu/drm/amd/display/dc/dml
Alex Hung b6499840ca drm/amd/display: Remove always-false branches
[WHAT & HOW]
req128_c is always set to false and its branch is never taken.
Similarly, MacroTileSizeBytes is set to either 256 or 65535 and it is
never 4096 and it's branch is not taken.

Therefore, their branches are removed.

This fixes 3 DEADCODE issues reported by Coverity.

Acked-by: Alex Hung <alex.hung@amd.com>
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-18 16:15:08 -04:00
..
calcs drm/amd/display: Covert integers to double before divisions 2024-06-19 12:44:55 -04:00
dcn10 drm/amd/display: Update comments in DC 2024-04-30 09:44:55 -04:00
dcn20 drm/amd/display: Remove always-false branches 2024-09-18 16:15:08 -04:00
dcn21 drm/amd/display: Initialize get_bytes_per_element's default to 1 2024-07-27 17:35:44 -04:00
dcn30 drm/amd/display: Remove redundant var from display_rq_dig_calc in dml 2024-06-27 17:10:35 -04:00
dcn31 drm/amd/display: Remove always-false branches 2024-09-18 16:15:08 -04:00
dcn32 drm/amd/display: Remove old comments 2024-07-23 17:38:29 -04:00
dcn35 drm/amd/display: change dram_clock_latency to 34us for dcn35 2024-06-14 16:17:16 -04:00
dcn301 drm/amd/display: Adjust functions prefix for some of the dcn301 fpu functions 2024-04-30 09:52:33 -04:00
dcn302 drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box 2024-05-02 16:18:18 -04:00
dcn303 drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box 2024-05-02 16:18:18 -04:00
dcn314 drm/amd/display: Remove redundant var from display_rq_dig_calc in dml 2024-06-27 17:10:35 -04:00
dcn321 drm/amd/display: Remove old comments 2024-07-23 17:38:29 -04:00
dcn351 drm/amd/display: Change dram_clock_latency to 34us for dcn351 2024-06-14 16:17:16 -04:00
dcn401 drm/amd/display: Add new DCN401 sources 2024-04-26 17:23:13 -04:00
dsc
Makefile drm/amd/display: Add missing DCN314 to the DML Makefile 2024-08-06 11:11:00 -04:00
dc_features.h
display_mode_enums.h
display_mode_lib.c
display_mode_lib.h
display_mode_structs.h drm/amd/display: Add P-State Keepout to dcn401 Global Sync 2024-07-23 17:07:12 -04:00
display_mode_vba.c drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration 2024-05-02 16:18:18 -04:00
display_mode_vba.h
display_rq_dlg_helpers.c
display_rq_dlg_helpers.h
dml1_display_rq_dlg_calc.c drm/amd/display: Initialize denominators' default to 1 2024-07-23 17:07:10 -04:00
dml1_display_rq_dlg_calc.h
dml_inline_defs.h
dml_logger.h