diff options
author | Maíra Canal <mairacanal@riseup.net> | 2022-06-30 17:17:41 -0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-05 16:18:27 -0400 |
commit | fd3bc691fc7b4e553f49bc79f86b515ce2638141 (patch) | |
tree | 6fee5633b1cb773bd25b7d3301094f13ee485d27 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | 61e419f651a65ebe01658b46bfc317896cac0eda (diff) | |
download | linux-fd3bc691fc7b4e553f49bc79f86b515ce2638141.tar.bz2 |
drm/amd/display: Remove duplicate code across dcn30 and dcn31
The function CalculateBytePerPixelAnd256BBlockSizes was defined four
times: on display_mode_vba_30.c, display_rq_dlg_calc_30.c,
display_mode_vba_31.c and display_rq_dlg_calc_31.c. In order to avoid
code duplication, the CalculateBytePerPixelAnd256BBlockSizes is defined
on display_mode_vba_30.h and used across dcn30 and dcn31.
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions