]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Increase size of audios array
authorTai Man <taiman.wong@amd.com>
Fri, 28 Jun 2019 15:40:38 +0000 (11:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2019 08:11:02 +0000 (10:11 +0200)
commit72d4d51a2d600a2da6ac54f59d86b798eb4cd5bb
tree73f94e3edd4bf581862072f9502cb6e4d186dde0
parent456d33270ae03b37397baa73fc458e2b7feda1aa
drm/amd/display: Increase size of audios array

[ Upstream commit 7352193a33dfc9b69ba3bf6a8caea925b96243b1 ]

[Why]
The audios array defined in "struct resource_pool" is only 6 (MAX_PIPES)
but the max number of audio devices (num_audio) is 7. In some projects,
it will run out of audios array.

[How]
Incraese the audios array size to 7.

Signed-off-by: Tai Man <taiman.wong@amd.com>
Reviewed-by: Joshua Aberback <Joshua.Aberback@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/inc/core_types.h
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h