mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
drm/amd/display: Remove unused get_max_support_fbc_buffersize
get_max_support_fbc_buffersize() is unused since 2021's
commit 94f0d0c80c ("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>
This commit is contained in:
parent
9ab737f3ae
commit
6d4e03d0b1
|
|
@ -409,19 +409,6 @@ void dce110_compressor_destroy(struct compressor **compressor)
|
|||
*compressor = NULL;
|
||||
}
|
||||
|
||||
void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y)
|
||||
{
|
||||
*max_x = FBC_MAX_X;
|
||||
*max_y = FBC_MAX_Y;
|
||||
|
||||
/* if (m_smallLocalFrameBufferMemory == 1)
|
||||
* {
|
||||
* *max_x = FBC_MAX_X_SG;
|
||||
* *max_y = FBC_MAX_Y_SG;
|
||||
* }
|
||||
*/
|
||||
}
|
||||
|
||||
static const struct compressor_funcs dce110_compressor_funcs = {
|
||||
.power_up_fbc = dce110_compressor_power_up_fbc,
|
||||
.enable_fbc = dce110_compressor_enable_fbc,
|
||||
|
|
|
|||
|
|
@ -75,7 +75,5 @@ void dce110_compressor_program_lpt_control(struct compressor *cp,
|
|||
|
||||
bool dce110_compressor_is_lpt_enabled_in_hw(struct compressor *cp);
|
||||
|
||||
void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user