commit | 67bef0f7908a3a6b10e5a29d8e8c09e27f90c9f8 | [log] [tgz] |
---|---|---|
author | Huang Rui <ray.huang@amd.com> | Thu Jun 29 14:21:49 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jun 29 12:43:43 2017 -0400 |
tree | 4327180d678cfa4d54bd82570b503a66d55a10e0 | |
parent | 6b0fa871a9a2d83dd869ca40a7fd65a935d3564c [diff] |
drm/amdgpu: fix the memory corruption on S3 psp->cmd will be used on resume phase, so we can not free it on hw_init. Otherwise, a memory corruption will be triggered. Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Tested-by: Xiaojie Yuan <Xiaojie.Yuan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org