Huang Rui 67bef0f790 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
2017-06-29 12:43:43 -04:00
..
2017-06-27 08:28:30 +10:00
2017-05-24 17:41:19 -04:00
2017-06-09 11:29:46 -04:00
2017-06-09 11:29:46 -04:00
2017-03-29 23:53:46 -04:00
2017-06-19 17:31:22 -04:00
2017-05-30 15:54:15 +10:00
2017-06-27 08:28:30 +10:00
2017-06-27 08:28:30 +10:00
2017-06-27 08:28:30 +10:00
2017-06-27 08:28:30 +10:00
2017-05-24 17:41:16 -04:00
2016-08-31 15:21:09 -04:00
2016-08-31 15:21:09 -04:00
2017-05-24 17:41:17 -04:00
2017-05-24 17:40:26 -04:00