aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h
diff options
context:
space:
mode:
authorMaíra Canal <mairacanal@riseup.net>2022-06-30 15:50:05 -0300
committerAlex Deucher <alexander.deucher@amd.com>2022-07-05 16:18:19 -0400
commiteb08accdd8d966e4027f8ba52f43faffa3e6dcbd (patch)
tree04ef1882ceb9587450b65e2a434f6c8eb2a676b4 /drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h
parentdrm/amdpgu/debugfs: Simplify some exit paths (diff)
downloadwireguard-linux-eb08accdd8d966e4027f8ba52f43faffa3e6dcbd.tar.xz
wireguard-linux-eb08accdd8d966e4027f8ba52f43faffa3e6dcbd.zip
drm/amd/display: Remove return value of Calculate256BBlockSizes
The function Calculate256BBlockSizes always returns true, regardless of the parameters. As any file checks the return of the function, this commit changes the return value to void. 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/dc/dml/display_mode_vba.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h b/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h
index 10ff536ef2a4..25a9a606ab6f 100644
--- a/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h
+++ b/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h
@@ -169,7 +169,7 @@ bool get_is_phantom_pipe(struct display_mode_lib *mode_lib,
unsigned int pipe_idx);
void PixelClockAdjustmentForProgressiveToInterlaceUnit(struct display_mode_lib *mode_lib);
-bool Calculate256BBlockSizes(
+void Calculate256BBlockSizes(
enum source_format_class SourcePixelFormat,
enum dm_swizzle_mode SurfaceTiling,
unsigned int BytePerPixelY,