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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 10:48:52 +0000 (12:48 +0200)
commit526527847355f703a519c62edf505f158592723c
treedaccc780ecd7dbf59f35879fed72246a80c70405
parent4f3d0f468552b83eaa011e17af358bf418d23da2
drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating

commit 05b4017b37f1fce4b7185f138126dd8decdb381f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/atombios_crtc.c