[PATCH AUTOSEL 4.18 12/45] drm/amd/display: fix bug of accessing invalid memory

2018-11-04 Thread Sasha Levin
From: Su Sung Chung [ Upstream commit 43c3ff27a47d83d153c4adc088243ba594582bf5 ] [Why] A loop inside of build_evenly_distributed_points function that traverse through the array of points become an infinite loop when m_GammaUpdates does not get assigned to any value. [How] In DMColor, clear

[PATCH AUTOSEL 4.18 12/45] drm/amd/display: fix bug of accessing invalid memory

2018-11-04 Thread Sasha Levin
From: Su Sung Chung [ Upstream commit 43c3ff27a47d83d153c4adc088243ba594582bf5 ] [Why] A loop inside of build_evenly_distributed_points function that traverse through the array of points become an infinite loop when m_GammaUpdates does not get assigned to any value. [How] In DMColor, clear