drm/amd/display: Check return value of drm helper
authorMikita Lipski <mikita.lipski@amd.com>
Tue, 7 Jan 2020 16:25:54 +0000 (11:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jan 2020 23:07:47 +0000 (18:07 -0500)
commit34d95c3d5f687e4de8266bcdceb8b4694fe7105a
treeb20b82cef231a4579c76518c4bc44dd86b8c8b6e
parent8c20a1ed9b4ff25c67f6c1771a4e1195b5221cce
drm/amd/display: Check return value of drm helper

If driver fails to update update VCPI allocation during
compute_mst_dsc_configs_for_state - fail the function
by return early.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c