drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2017 14:55:11 +0000 (10:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jun 2017 16:06:49 +0000 (12:06 -0400)
commit05b4017b37f1fce4b7185f138126dd8decdb381f
tree06a16f4692b16736c162d67ab1bd752e3060ccff
parent6e88491cf2a3b17199c78bd53348b39dc6a88275
drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating

We were using the wrong structure which lead to an overflow
on some boards.

bug: https://bugs.freedesktop.org/show_bug.cgi?id=101387
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/atombios_crtc.c