drm/amd/display: fix incorrect check for atom table size
authorTony Cheng <tony.cheng@amd.com>
Sun, 17 Jun 2018 17:26:27 +0000 (13:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
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 <tony.cheng@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c