]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jun 2017 16:06:49 +0000 (12:06 -0400)
commit4a4de24c0f3653301b51a16f77bc59bf5a7867f8
tree06a16f4692b16736c162d67ab1bd752e3060ccff
parent0dc2d89771ebb5fd482c1bc86a6f0086272ce2c8
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