]> asedeno.scripts.mit.edu Git - 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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:20 +0000 (14:17 -0500)
commit7352193a33dfc9b69ba3bf6a8caea925b96243b1
tree4a9d7a458380a42f117892892472ef32fb746d40
parent58caae27df41d2ef3b1ae3bd06284da5b85ac288
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