]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pp: Fix overflow when setup decf/pix/disp dpm table.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 18 Oct 2017 09:43:43 +0000 (17:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:27:20 +0000 (15:27 -0400)
commit7349c0ffca6efca92406d8e3f19fc097e5324fd7
tree3db890cc798da1fb44422614f69f38a26a401db5
parent58cd49d555289d933959c43c6fb8d3c2d95f774d
drm/amd/pp: Fix overflow when setup decf/pix/disp dpm table.

Clear the count in the single table setup function to
avoid missing any tables.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c