OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:27:26 +0000 (14:27 -0500)
commit1b1ff454bd66f9b3117aafe3c39df0b3efecd629
tree899239a87d947272e5f3e1a8d2a32367d8ffb757
parentf53fc02b9ac38ad096842bea7880e6c066e01814
drm/amd/display: Increase size of audios array

[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>
drivers/gpu/drm/amd/display/dc/inc/core_types.h
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h