]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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 11:02:53 +0000 (13:02 +0200)
commit0e01b65960f926a9804b4f8d1c388482a9ba9bbe
treeec756caa5f212dfb8027ac4ce215f3674bd9c7a2
parent08a02c2c3f29f448d2b3617f61a8131bde4ae72f
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