summary refs log tree commit diff
path: root/drivers/usb/misc/usb4604.c
diff options
context:
space:
mode:
authorMaíra Canal <mairacanal@riseup.net>2022-06-30 17:17:41 -0300
committerAlex Deucher <alexander.deucher@amd.com>2022-07-05 16:18:27 -0400
commitfd3bc691fc7b4e553f49bc79f86b515ce2638141 (patch)
tree6fee5633b1cb773bd25b7d3301094f13ee485d27 /drivers/usb/misc/usb4604.c
parent61e419f651a65ebe01658b46bfc317896cac0eda (diff)
downloadlinux-fd3bc691fc7b4e553f49bc79f86b515ce2638141.tar.gz
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/usb/misc/usb4604.c')
0 files changed, 0 insertions, 0 deletions