]> 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)
commit7242ffe4aeb2677687c5c8c772f6835288546299
tree3db890cc798da1fb44422614f69f38a26a401db5
parent81132ca458771980856b379d005ef2095c421d78
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