Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: Remove unused get_max_support_fbc_buffersize

get_max_support_fbc_buffersize() is unused since 2021's
commit 94f0d0c80cf3 ("drm/amd/display/dc/dce110/dce110_compressor: Remove
unused function 'dce110_get_required_compressed_surfacesize")
removed it's only caller.

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Dr. David Alan Gilbert and committed by
Alex Deucher
6d4e03d0 9ab737f3

-15
-13
drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c
··· 409 409 *compressor = NULL; 410 410 } 411 411 412 - void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y) 413 - { 414 - *max_x = FBC_MAX_X; 415 - *max_y = FBC_MAX_Y; 416 - 417 - /* if (m_smallLocalFrameBufferMemory == 1) 418 - * { 419 - * *max_x = FBC_MAX_X_SG; 420 - * *max_y = FBC_MAX_Y_SG; 421 - * } 422 - */ 423 - } 424 - 425 412 static const struct compressor_funcs dce110_compressor_funcs = { 426 413 .power_up_fbc = dce110_compressor_power_up_fbc, 427 414 .enable_fbc = dce110_compressor_enable_fbc,
-2
drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.h
··· 75 75 76 76 bool dce110_compressor_is_lpt_enabled_in_hw(struct compressor *cp); 77 77 78 - void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y); 79 - 80 78 #endif 81 79