drm/amd/display: Compare mpcc_inst to mpcc_count instead of a constant
authorJoshua Aberback <joshua.aberback@amd.com>
Thu, 20 Aug 2020 04:57:22 +0000 (00:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:40 +0000 (17:52 -0400)
commit0b02e1fda5422a144a8bfca9be22547b4d291f20
tree321b2dda9e849b205265ab7025aa8a920ee6bd00
parent958000cb24cc2db5f3ce1c70b9ad2b3e20b73581
drm/amd/display: Compare mpcc_inst to mpcc_count instead of a constant

[Why]
This assert triggers a false negative because there are more than 4 MPCCs
on many asics.

[How]
 - change assert comparisson
 - remove unused variable

Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c