]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Reset pipe count when iterating for DET override
authorTaimur Hassan <Syed.Hassan@amd.com>
Wed, 13 Jul 2022 21:07:43 +0000 (17:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:15:44 +0000 (17:15 -0400)
commit854fa5551eb51bba09654f5daeb337f0867efc1a
tree66fe2d9abf9580e1b37d541a7f9f3e977b624de4
parent3d408dbc79c026ae308c20fc7a4556a99bbb09d3
drm/amd/display: Reset pipe count when iterating for DET override

[Why]
Coding error in DET allocation was resulting in too few DET segments
being allocated, causing underflow.

[How]
Reset pipe count each time we begin iterating through pipes for a stream.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c