drm/amd/display: fix incorrect check for atom table size
authorTony Cheng <[email protected]>
Sun, 17 Jun 2018 17:26:27 +0000 (13:26 -0400)
committerAlex Deucher <[email protected]>
Fri, 13 Jul 2018 19:47:39 +0000 (14:47 -0500)
commit7a34057cb5ceb20756e30abc36c58c34be62eff9
treecf6755be29b3f73f9dac951049a700918b855744
parent16aecfd4bf546907a6d7d06b4edfdbeea75b1839
drm/amd/display: fix incorrect check for atom table size

in case we have very few pins in the table, check fails and we can't boot

Signed-off-by: Tony Cheng <[email protected]>
Reviewed-by: Yongqiang Sun <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c